Home
last modified time | relevance | path

Searched refs:JarURLConnection (Results 1 – 18 of 18) sorted by relevance

/libcore/luni/src/test/java/libcore/java/net/
DOldJarURLConnectionTest.java25 import java.net.JarURLConnection;
44 JarURLConnection juc;
59 juc = (JarURLConnection) u.openConnection(); in test_getAttributes()
65 JarURLConnection juConn = (JarURLConnection) invURL.openConnection(); in test_getAttributes()
77 juc = (JarURLConnection) u.openConnection(); in test_getCertificates()
90 JarURLConnection juConn = (JarURLConnection) invURL.openConnection(); in test_getCertificates()
102 juc = (JarURLConnection) u.openConnection(); in test_getManifest()
110 JarURLConnection juConn = (JarURLConnection) invURL.openConnection(); in test_getManifest()
122 juc = (JarURLConnection) u.openConnection(); in test_getEntryName()
128 juc = (JarURLConnection) u.openConnection(); in test_getEntryName()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/net/
DJarURLConnectionTest.java26 import java.net.JarURLConnection;
39 private JarURLConnection juc;
59 juc = (JarURLConnection) u.openConnection(); in test_getAttributes()
71 juc = (JarURLConnection) u.openConnection(); in test_getEntryName()
75 juc = (JarURLConnection) u.openConnection(); in test_getEntryName()
79 …assertEquals("foo.jar!/Bugs/HelloWorld.class", ((JarURLConnection) url.openConnection()).getEntryN… in test_getEntryName()
87 juc = (JarURLConnection) u.openConnection(); in test_getJarEntry()
91 juc = (JarURLConnection) u.openConnection(); in test_getJarEntry()
101 JarURLConnection connection = null; in test_getJarFile()
102 connection = (JarURLConnection) url.openConnection(); in test_getJarFile()
[all …]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DClassLoaderTest.java24 import java.net.JarURLConnection;
140 JarURLConnection uncachedConnection = (JarURLConnection) resourceFromJar.openConnection(); in testUncachedJarStreamBehavior()
155 JarURLConnection cachedConnection1 = (JarURLConnection) resourceFromJar.openConnection(); in testCachedJarStreamBehavior()
158 JarURLConnection cachedConnection2 = (JarURLConnection) resourceFromJar.openConnection(); in testCachedJarStreamBehavior()
178 JarURLConnection urlConnection1 = (JarURLConnection) resourceFromJar.openConnection(); in testResourceJarFileBehavior()
181 JarURLConnection urlConnection2 = (JarURLConnection) resourceFromJar.openConnection(); in testResourceJarFileBehavior()
185 JarURLConnection uncachedConnection = (JarURLConnection) resourceFromJar.openConnection(); in testResourceJarFileBehavior()
239 private static boolean isJarUrlConnectClosed(JarURLConnection jarURLConnection) in isJarUrlConnectClosed()
/libcore/support/src/test/java/tests/support/
DSupport_GetLocal.java26 import java.net.JarURLConnection;
94 public static JarURLConnection getJarURLConnection() throws IOException { in getJarURLConnection()
95 JarURLConnection con1 = null; in getJarURLConnection()
98 con1 = (JarURLConnection) fUrl1.openConnection(); in getJarURLConnection()
/libcore/luni/src/test/java/libcore/libcore/io/
DClassPathURLStreamHandlerTest.java24 import java.net.JarURLConnection;
186 JarURLConnection standardJarUrlConnection = (JarURLConnection) standardURLConnection; in assertBehaviorSame()
187 JarURLConnection actualJarUrlConnection = (JarURLConnection) actualUrlConnection; in assertBehaviorSame()
/libcore/ojluni/src/main/java/javax/crypto/
DJarVerifier.java92 JarURLConnection conn = in verify()
93 (JarURLConnection) url.openConnection(); in verify()
/libcore/luni/src/test/java/libcore/libcore/net/
DNetworkSecurityPolicyTest.java24 import java.net.JarURLConnection;
157 ((JarURLConnection) url.openConnection()).getManifest(); in testCleartextTrafficPolicyWithJarHttpURLConnection()
170 ((JarURLConnection) url.openConnection()).getManifest(); in testCleartextTrafficPolicyWithJarHttpURLConnection()
185 ((JarURLConnection) url.openConnection()).getManifest(); in testCleartextTrafficPolicyWithJarFtpURLConnection()
198 ((JarURLConnection) url.openConnection()).getManifest(); in testCleartextTrafficPolicyWithJarFtpURLConnection()
/libcore/ojluni/src/main/java/java/net/
DJarURLConnection.java137 public abstract class JarURLConnection extends URLConnection { class
156 protected JarURLConnection(URL url) throws MalformedURLException { in JarURLConnection() method in JarURLConnection
DURLClassLoader.java239 if (urlc instanceof JarURLConnection) { in getResourceAsStream()
240 JarURLConnection juc = (JarURLConnection)urlc; in getResourceAsStream()
693 if (urlConnection instanceof JarURLConnection) { in getPermissions()
694 locUrl = ((JarURLConnection)urlConnection).getJarFileURL(); in getPermissions()
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DJarURLConnection.java48 public class JarURLConnection extends java.net.JarURLConnection { class
79 public JarURLConnection(URL url, Handler handler) in JarURLConnection() method in JarURLConnection
DHandler.java41 return new JarURLConnection(u, this); in openConnection()
/libcore/luni/src/main/java/libcore/io/
DClassPathURLStreamHandler.java24 import java.net.JarURLConnection;
97 private class ClassPathURLConnection extends JarURLConnection {
/libcore/ojluni/src/main/java/sun/misc/
DURLClassPath.java38 import java.net.JarURLConnection;
672 if (urlConnection instanceof JarURLConnection) {
673 locUrl = ((JarURLConnection)urlConnection).getJarFileURL();
757 if (uc instanceof JarURLConnection) {
761 JarURLConnection juc = (JarURLConnection)uc;
928 JarFile jarFile = ((JarURLConnection)uc).getJarFile();
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/net/
DURLConnectionTest.java37 import java.net.JarURLConnection;
68 private JarURLConnection jarURLCon;
274 JarURLConnection con1 = openJarURLConnection();
1239 private JarURLConnection openJarURLConnection()
1246 JarURLConnection con1 = (JarURLConnection) fUrl1.openConnection();
/libcore/ojluni/src/main/java/java/util/
DResourceBundle.java55 import java.net.JarURLConnection;
3416 if (connection instanceof JarURLConnection) { in needsReload()
3417 JarEntry ent = ((JarURLConnection)connection).getJarEntry(); in needsReload()
/libcore/
Dopenjdk_java_files.bp317 "ojluni/src/main/java/java/net/JarURLConnection.java",
1635 "ojluni/src/main/java/sun/net/www/protocol/jar/JarURLConnection.java",
DEXPECTED_UPSTREAM352 …luni/src/main/java/java/net/JarURLConnection.java,jdk11u/jdk-11.0.13-ga,src/java.base/share/classe…
1518 …un/net/www/protocol/jar/JarURLConnection.java,jdk8u/jdk8u121-b13,jdk/src/share/classes/sun/net/www…
/libcore/api/
Dcurrent.txt5765 public abstract class JarURLConnection extends java.net.URLConnection {
5766 ctor protected JarURLConnection(java.net.URL) throws java.net.MalformedURLException;