/openjdk10/jdk/test/java/net/URLClassLoader/ |
H A D | ClassLoad.java | 59 URL url = new URL("http://localhost:" + server.getAddress().getPort()); 61 ClassLoader loader = new URLClassLoader(new URL[] { url }); 62 System.out.println(url);
|
/openjdk10/jdk/test/java/net/URL/ |
H A D | GetContent.java | 76 java.net.URL url = null; 77 url = new java.net.URL(name); 78 Object obj = url.getContent();
|
H A D | Constructor.java | 53 URL url; 57 url = new URL(e.spec); 59 url = new URL(new URL(e.context), e.spec); 61 if (!(url.toString().equals(e.expected))) { 65 "\n\tactual: " + url.toString()); 68 //System.out.println("success for: " + url);
|
/openjdk10/jdk/test/java/net/ProxySelector/ |
H A D | ProxyTest.java | 79 URL url = new URL("http://localhost:"+server.getLocalPort()); 80 System.out.println ("client opening connection to: " + url); 81 HttpURLConnection urlc = (HttpURLConnection)url.openConnection ();
|
/openjdk10/jdk/test/java/net/ResponseCache/ |
H A D | getResponseCode.java | 40 static URL url; field in class:getResponseCode 45 url = new URL("http://localhost/file1.cache"); 46 HttpURLConnection http = (HttpURLConnection)url.openConnection();
|
/openjdk10/jdk/test/java/util/spi/ResourceBundleControlProvider/com/foo/ |
H A D | UserXMLControl.java | 55 URL url = loader.getResource(resourceName); 56 if (url != null) { 57 URLConnection connection = url.openConnection();
|
/openjdk10/jdk/test/sun/net/www/protocol/http/ |
H A D | RelativeRedirect.java | 95 URL url = new URL("http://localhost:"+server.getLocalPort()); 96 System.out.println ("client opening connection to: " + url); 97 HttpURLConnection urlc = (HttpURLConnection)url.openConnection ();
|
H A D | SetChunkedStreamingMode.java | 70 URL url = new URL ("http://127.0.0.1:"+server.getLocalPort()+"/"); 71 System.out.println ("Client: connecting to " + url); 72 HttpURLConnection urlc = (HttpURLConnection)url.openConnection();
|
H A D | SetIfModifiedSince.java | 85 URL url; 88 //url = new URL(args[0]); 89 url = new URL("http://localhost:" + String.valueOf(port) + 91 con = (HttpURLConnection)url.openConnection(Proxy.NO_PROXY);
|
/openjdk10/jdk/test/sun/net/www/protocol/jrt/ |
H A D | WithSecurityManager.java | 61 URL url = new URL("jrt:/java.base/java/lang/Object.class"); 62 if (url != null) { 64 in = url.openStream();
|
/openjdk10/jdk/test/sun/net/www/protocol/jar/ |
H A D | B6449504.java | 51 URL url = new URL(u + "!/DoesNotExist.txt"); 52 System.out.println("url = " + url); 53 JarURLConnection j1 = (JarURLConnection)url.openConnection();
|
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/loader/ |
H A D | BuiltinClassLoader.java | 122 URL url = null; 125 url = mref.location().get().toURL(); 130 this.codeSourceURL = url; 220 URL url = null; 226 url = findResource(mref, name); 230 url = findResourceOnClassPath(name); 233 return checkURL(url); // check access before returning 246 URL url = findResource(mn, name); 247 return (url != null) ? url 815 defineOrCheckPackage(String pn, Manifest man, URL url) argument 840 getAndVerifyPackage(String pn, Manifest man, URL url) argument 867 definePackage(String pn, Manifest man, URL url) argument 1044 checkURL(URL url) argument [all...] |
/openjdk10/jdk/src/java.base/share/classes/java/net/ |
H A D | URLClassLoader.java | 317 URL url = getResource(name); 319 if (url == null) { 322 URLConnection urlc = url.openConnection(); 414 * @param url the URL to be added to the search path of URLs 416 protected void addURL(URL url) { argument 417 ucp.addURL(url); 477 Manifest man, URL url) { 483 if (!pkg.isSealed(url)) { 508 URL url = res.getCodeSourceURL(); 513 if (getAndVerifyPackage(pkgname, man, url) 476 getAndVerifyPackage(String pkgname, Manifest man, URL url) argument 567 definePackage(String name, Manifest man, URL url) argument [all...] |
/openjdk10/nashorn/src/jdk.scripting.nashorn/share/classes/jdk/nashorn/internal/runtime/ |
H A D | Source.java | 142 return new DebuggerSupport.SourceInfo(getName(), data.hashCode(), data.url(), data.array()); 148 URL url(); method in interface:Source.Data 205 public URL url() { method in class:Source.RawData 232 private final URL url; field in class:Source.URLData 239 private URLData(final URL url, final Charset cs) { argument 240 this.url = Objects.requireNonNull(url); 248 h = hash = url.hashCode(); 264 if (url.equals(otherData.url)) { 290 public URL url() { method in class:Source.URLData 456 sourceFor(final String name, final URL url) argument 471 sourceFor(final String name, final URL url, final Charset cs) argument 825 readFully(final URL url) argument 837 readFully(final URL url, final Charset cs) argument 885 baseURL(final URL url) argument [all...] |
/openjdk10/jdk/src/java.sql/share/classes/java/sql/ |
H A D | DriverManager.java | 166 * <B>Note:</B> If a property is specified as part of the {@code url} and 172 * @param url a database url of the form 178 * @exception SQLException if a database access error occurs or the url is 186 public static Connection getConnection(String url, argument 189 return (getConnection(url, info, Reflection.getCallerClass())); 198 * also specified as part of the {@code url}, it is 203 * @param url a database url of the form 209 * @exception SQLException if a database access error occurs or the url i 217 getConnection(String url, String user, String password) argument 247 getConnection(String url) argument 266 getDriver(String url) argument 646 getConnection( String url, java.util.Properties info, Class<?> caller) argument [all...] |
/openjdk10/jdk/test/javax/management/remote/mandatory/util/ |
H A D | MapNullValuesTest.java | 160 JMXServiceURL url = 164 JMXConnectorServerFactory.newJMXConnectorServer(url, 201 JMXServiceURL url = 205 JMXConnectorServerFactory.newJMXConnectorServer(url, 241 JMXServiceURL url = null; 247 url = new JMXServiceURL(urlStr + "1"); 248 jmxcs = JMXConnectorServerFactory.newJMXConnectorServer(url, 260 url = new JMXServiceURL(urlStr + "2"); 261 jmxcs = JMXConnectorServerFactory.newJMXConnectorServer(url, 277 url [all...] |
/openjdk10/jaxws/src/java.xml.bind/share/classes/javax/xml/bind/helpers/ |
H A D | ValidationEventLocatorImpl.java | 78 this.url = toURL(loc.getSystemId()); 101 this.url = toURL(e.getSystemId()); 154 private URL url = null; field in class:ValidationEventLocatorImpl 166 return url; 172 * @param _url the url 175 this.url = _url; 265 return MessageFormat.format("[node={0},object={1},url={2},line={3},col={4},offset={5}]",
|
/openjdk10/jdk/src/java.base/share/classes/sun/net/www/http/ |
H A D | HttpCapture.java | 112 private HttpCapture(File f, java.net.URL url) { argument 116 out.write("URL: " + url + "\n"); 144 public static HttpCapture getCapture(java.net.URL url) { argument 151 String s = url.toString(); 166 return new HttpCapture(fi, url);
|
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/media/sound/ |
H A D | JARSoundbankReader.java | 51 private static boolean isZIP(URL url) { argument 54 InputStream stream = url.openStream(); 74 public Soundbank getSoundbank(URL url) argument 76 if (!isZIP(url)) 79 URLClassLoader ucl = URLClassLoader.newInstance(new URL[]{url});
|
/openjdk10/jdk/src/java.base/share/classes/jdk/internal/jrtfs/ |
H A D | SystemImage.java | 117 URL url = cs.getLocation(); 118 if (!url.getProtocol().equalsIgnoreCase("file")) 119 throw new InternalError(url + " loaded in unexpected way"); 121 Path lib = Paths.get(url.toURI()).getParent(); 123 throw new InternalError(url + " unexpected path");
|
/openjdk10/jdk/test/com/sun/jmx/remote/NotificationMarshalVersions/ |
H A D | TestSerializationMismatch.java | 63 String url = startServer(); 64 debug("server started and listening on " + url); 66 startClient(url); 116 static void startClient(String url) throws Exception { argument 122 runMethod.invoke(null, url);
|
/openjdk10/jdk/test/javax/management/loading/ |
H A D | MLetContentTest.java | 66 URL url = new URL(baseUrl+myfile); 67 MLetContent content = new MLetContent(url, attributes, types, values); 73 if (!url.equals(content.getDocumentBase())) { 106 throw new RuntimeException("The user specific base url are changed."); 109 url = new URL(baseUrl); 111 content = new MLetContent(url, attributes, types, values); 114 throw new RuntimeException("The user specific base url are changed.");
|
/openjdk10/jdk/test/javax/management/remote/mandatory/notif/ |
H A D | ServerNotifs.java | 64 JMXServiceURL url = new JMXServiceURL("service:jmx:rmi://"); 66 JMXConnectorServerFactory.newJMXConnectorServer(url, 77 url = cs.getAddress(); 78 echo("---RMIConnectorServer address: " + url); 86 JMXConnector c = JMXConnectorFactory.newJMXConnector(url, null);
|
/openjdk10/jdk/src/java.base/share/classes/sun/net/www/protocol/jrt/ |
H A D | JavaRuntimeURLConnection.java | 66 JavaRuntimeURLConnection(URL url) throws IOException { argument 67 super(url); 68 String path = url.getPath(); 70 throw new MalformedURLException(url + " missing path or /"); 92 URL url = toJrtURL(module, name); 94 if (location != null && URLClassPath.checkURL(url) != null) { 102 return url;
|
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/addressing/policy/ |
H A D | AddressingFeatureConfigurator.java | 140 private static String toJar(String url) { argument 141 if(!url.startsWith("jar:")) 142 return url; 143 url = url.substring(4); // cut off jar: 144 return url.substring(0,url.lastIndexOf('!')); // cut off everything after '!'
|