/openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/util/ |
H A D | ResourceIOException.java | 34 * Wraps an IOException and the path for the resource to which it applies. 47 * The resource that was in use when the exception occurred. 49 public final DocPath resource; field in class:ResourceIOException 54 * Creates an exception to wrap an IO exception, the resource which caused it. 56 * @param resource the resource in use when the exception occurred 59 public ResourceIOException(DocPath resource, IOException cause) { argument 60 super(resource.getPath(), cause); 61 this.resource = resource; [all...] |
/openjdk10/jdk/test/java/util/ResourceBundle/ |
H A D | Bug4179766Getter.java | 70 /** return the specified resource or null if not found */ 71 public ResourceBundle getResourceBundle(String resource); argument
|
H A D | Bug4179766Class.java | 64 /** return the specified resource or null if not found */ 65 public ResourceBundle getResourceBundle(String resource) { argument 67 return ResourceBundle.getBundle(resource);
|
H A D | Bug4168625Getter.java | 52 /** return the specified resource or null if not found */ 53 public ResourceBundle getResourceBundle(String resource, Locale locale); argument
|
H A D | Bug4168625Class.java | 46 /** return the specified resource or null if not found */ 47 public ResourceBundle getResourceBundle(String resource, Locale locale) { argument 49 return ResourceBundle.getBundle(resource, locale);
|
/openjdk10/jdk/test/java/util/logging/modules/src/m1/p1/resource/ |
H A D | ClassResource.java | 24 package p1.resource;
|
/openjdk10/jdk/test/java/util/logging/modules/src/m2/p2/resource/ |
H A D | ClassResource.java | 24 package p2.resource;
|
/openjdk10/jdk/test/java/util/logging/modules/pkgs/p3/resource/ |
H A D | ClassResource.java | 24 package p3.resource;
|
/openjdk10/jdk/src/java.management/share/classes/com/sun/jmx/mbeanserver/ |
H A D | MBeanSupport.java | 125 <T> MBeanSupport(T resource, Class<T> mbeanInterfaceType) argument 129 if (!mbeanInterfaceType.isInstance(resource)) { 131 "Resource class " + resource.getClass().getName() + 136 this.resource = resource; 139 this.mbeanInfo = introspector.getMBeanInfo(resource, perInterface); 166 if (resource instanceof MBeanRegistration) 167 name = ((MBeanRegistration) resource).preRegister(server, name); 181 if (resource instanceof MBeanRegistration) 182 ((MBeanRegistration) resource) 274 private final Object resource; field in class:MBeanSupport [all...] |
/openjdk10/jdk/src/java.desktop/share/classes/com/sun/media/sound/ |
H A D | SimpleSoundbank.java | 122 public void addResource(SoundbankResource resource) { argument 123 if (resource instanceof Instrument) 124 instruments.add((Instrument) resource); 126 resources.add(resource); 129 public void removeResource(SoundbankResource resource) { argument 130 if (resource instanceof Instrument) 131 instruments.remove(resource); 133 resources.remove(resource); 136 public void addInstrument(Instrument resource) { argument 137 instruments.add(resource); 140 removeInstrument(Instrument resource) argument [all...] |
/openjdk10/jdk/src/demo/share/java2d/J2DBench/src/j2dbench/tests/cmm/ |
H A D | CMMTests.java | 102 String resource = "profiles/"; 105 resource += "CIEXYZ.pf"; 108 resource += "GRAY.pf"; 111 resource += "LINEAR_RGB.pf"; 114 resource += "PYCC.pf"; 117 resource += "sRGB.pf"; 124 InputStream is = CMMTests.class.getResourceAsStream(resource); 129 throw new RuntimeException("Unable load profile from resource " + resource, e);
|
/openjdk10/jdk/src/demo/share/jfc/CodePointIM/ |
H A D | CodePointIM.java | 54 ResourceBundle resource = ResourceBundle.getBundle( 57 System.err.println(resource.getString("warning"));
|
/openjdk10/langtools/test/tools/javac/TryWithResources/ |
H A D | TwrNullTests.java | 33 * close method for each resource: one for when there is a primary 44 * Verify empty try-with-resources on a null resource completes 48 try(AutoCloseable resource = null) { 56 * Verify that a NPE on a null resource is <em>not</em> added as a 60 try(AutoCloseable resource = null) {
|
H A D | DuplicateResource.java | 28 * @summary Check that lowered try-with-resources block does not end up creating resource twice 58 throw new AssertionError("Expected one resource, found: " + resources.size()); 60 TestResource resource = resources.get(0); 61 if (!resource.isClosed) {
|
/openjdk10/jdk/src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/ |
H A D | StripDebugPlugin.java | 64 in.transformAndCopy((resource) -> { 65 ResourcePoolEntry res = resource; 66 if (resource.type().equals(ResourcePoolEntry.Type.CLASS_OR_RESOURCE)) { 67 String path = resource.path(); 72 ClassReader reader = new ClassReader(resource.contentBytes()); 76 res = resource.copyWithContent(content);
|
H A D | ExcludePlugin.java | 50 in.transformAndCopy((resource) -> { 51 if (resource.type().equals(ResourcePoolEntry.Type.CLASS_OR_RESOURCE)) { 52 resource = predicate.test(resource.path()) ? resource : null; 54 return resource;
|
H A D | OrderResourcesPlugin.java | 67 private final ResourcePoolEntry resource; field in class:OrderResourcesPlugin.SortWrapper 70 SortWrapper(ResourcePoolEntry resource, int ordinal) { argument 71 this.resource = resource; 76 return resource; 80 return resource.path(); 100 private int getOrdinal(ResourcePoolEntry resource) { argument 101 String path = resource.path(); 133 .filter(resource -> resource [all...] |
/openjdk10/jdk/test/java/util/jar/JarFile/mrjar/ |
H A D | MultiReleaseJarProperties.java | 170 String resource = rtVersion == 9 ? "/version/PackagePrivate.java" : "/version/Version.java"; 172 getResourceAsStream(rootClass, resource); 175 protected void getResourceAsStream(Class<?> rootClass, String resource) throws Exception { argument 176 try (InputStream is = rootClass.getResourceAsStream(resource)) { 178 resource = new String(bytes); 181 Assert.assertTrue(resource.contains(match)); 186 String resource = rtVersion == 9 ? "/version/PackagePrivate.java" : "/version/Version.java"; 188 getResource(rootClass, resource); 191 protected void getResource(Class<?> rootClass, String resource) throws Exception { argument 192 URL url = rootClass.getResource(resource); [all...] |
H A D | MultiReleaseJarHttpProperties.java | 98 String resource = rtVersion == 9 ? "/version/PackagePrivate.java" : "/version/Version.java"; 100 getResourceAsStream(rootClass, resource); 105 String resource = rtVersion == 9 ? "/version/PackagePrivate.java" : "/version/Version.java"; 107 getResource(rootClass, resource);
|
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/util/ |
H A D | InjectionPlan.java | 52 * @param resource 55 public abstract void inject(T instance, R resource); argument 58 * Perform injection, but resource is only generated if injection is 62 * @param resource 64 public void inject(T instance, Callable<R> resource) { argument 66 inject(instance, resource.call()); 83 public void inject(final T instance, final R resource) { argument 90 field.set(instance, resource); 111 public void inject(T instance, R resource) { argument 112 invokeMethod(method, instance, resource); 153 inject(T instance, Callable<R> resource) argument 219 isInjectionPoint(Resource resource, Class fieldType, String errorMessage, Class resourceType ) argument [all...] |
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/spi/db/ |
H A D | PropertySetter.java | 40 public void set(Object instance, Object resource); argument
|
/openjdk10/jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/ws/api/ |
H A D | ResourceLoader.java | 42 * Returns the actual location of the resource from the 'resource' arg 56 * URL getResource(String resource) { 57 * return servletContext.getResource("/WEB-INF/"+resource); 61 * @param resource Designates a path that is understood by the container. The 62 * implementations must support "jax-ws-catalog.xml" resource. 66 public abstract URL getResource(String resource) throws MalformedURLException; argument
|
/openjdk10/jdk/test/java/util/logging/modules/src/m2/p2/test/ |
H A D | ModuleLoggerAccess.java | 29 * Logger in this named module m2 loading a resource bundle 39 return p2.resource.ClassResource.class;
|
/openjdk10/jaxws/src/java.xml.bind/share/classes/com/sun/xml/internal/bind/v2/runtime/reflect/opt/ |
H A D | AccessorInjector.java | 90 * The resource that contains the template class file. 99 InputStream resource; 101 resource = CLASS_LOADER.getResourceAsStream(templateClassName+".class"); 103 resource = ClassLoader.getSystemResourceAsStream(templateClassName+".class"); 104 if(resource==null) 107 return ClassTailor.tailor(resource,templateClassName,newClassName,replacements);
|
/openjdk10/jdk/test/java/util/Locale/ |
H A D | GenerateKeyList.java | 68 public static void dumpResource(String pathName, Object resource, PrintStream out) argument 70 if (resource instanceof String[]) { 71 String[] stringList = (String[])resource; 75 else if (resource instanceof String[][]) { 76 String[][] stringArray = (String[][])resource;
|