/libcore/luni/src/main/java/javax/xml/xpath/ |
D | XPathFactory.java | 143 ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); in newInstance() local 144 if (classLoader == null) { in newInstance() 146 classLoader = XPathFactory.class.getClassLoader(); in newInstance() 148 XPathFactory xpathFactory = new XPathFactoryFinder(classLoader).newFactory(uri); in newInstance() 166 ClassLoader classLoader) throws XPathFactoryConfigurationException { in newInstance() argument 178 if (classLoader == null) { in newInstance() 179 classLoader = Thread.currentThread().getContextClassLoader(); in newInstance() 181 … XPathFactory xpathFactory = new XPathFactoryFinder(classLoader).createInstance(factoryClassName); in newInstance()
|
D | XPathFactoryFinder.java | 97 private final ClassLoader classLoader; field in XPathFactoryFinder 111 this.classLoader = loader; in XPathFactoryFinder() 118 if (classLoader == Thread.currentThread().getContextClassLoader()) { in debugDisplayClassLoader() 119 debugPrintln("using thread context class loader (" + classLoader + ") for search"); in debugDisplayClassLoader() 123 if (classLoader==ClassLoader.getSystemClassLoader()) { in debugDisplayClassLoader() 124 debugPrintln("using system class loader (" + classLoader + ") for search"); in debugDisplayClassLoader() 128 debugPrintln("using class loader (" + classLoader + ") for search"); in debugDisplayClassLoader() 236 if( classLoader!=null ) in createInstance() 237 clazz = classLoader.loadClass(className); in createInstance() 327 if (classLoader == null) { in createServiceFileIterator() [all …]
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | FactoryFinder.java | 119 ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); in findClassLoader() local 123 + classLoader); in findClassLoader() 125 if (classLoader == null) { in findClassLoader() 128 classLoader = FactoryFinder.class.getClassLoader(); in findClassLoader() 131 + classLoader); in findClassLoader() 134 return classLoader; in findClassLoader() 149 ClassLoader classLoader) in newInstance() argument 154 if (classLoader == null) { in newInstance() 157 spiClass = classLoader.loadClass(className); in newInstance() 188 ClassLoader classLoader = findClassLoader(); in find() local [all …]
|
D | DatatypeFactory.java | 117 public static DatatypeFactory newInstance(String factoryClassName, ClassLoader classLoader) in newInstance() argument 122 if (classLoader == null) { in newInstance() 123 classLoader = Thread.currentThread().getContextClassLoader(); in newInstance() 126 Class<?> type = classLoader != null in newInstance() 127 ? classLoader.loadClass(factoryClassName) in newInstance()
|
/libcore/luni/src/main/java/javax/xml/validation/ |
D | SchemaFactoryFinder.java | 101 private final ClassLoader classLoader; field in SchemaFactoryFinder 115 this.classLoader = loader; in SchemaFactoryFinder() 122 if (classLoader == Thread.currentThread().getContextClassLoader()) { in debugDisplayClassLoader() 123 debugPrintln("using thread context class loader ("+classLoader+") for search"); in debugDisplayClassLoader() 127 if (classLoader == ClassLoader.getSystemClassLoader()) { in debugDisplayClassLoader() 128 debugPrintln("using system class loader ("+classLoader+") for search"); in debugDisplayClassLoader() 132 debugPrintln("using class loader (" + classLoader + ") for search"); in debugDisplayClassLoader() 261 if( classLoader!=null ) in createInstance() 262 clazz = classLoader.loadClass(className); in createInstance() 293 if (classLoader == null) { in createServiceFileIterator() [all …]
|
D | SchemaFactory.java | 205 ClassLoader classLoader) { in newInstance() argument 211 if (classLoader == null) { in newInstance() 212 classLoader = Thread.currentThread().getContextClassLoader(); in newInstance() 215 Class<?> type = classLoader != null in newInstance() 216 ? classLoader.loadClass(factoryClassName) in newInstance()
|
/libcore/luni/src/main/java/javax/xml/transform/ |
D | TransformerFactory.java | 91 public static TransformerFactory newInstance(String factoryClassName, ClassLoader classLoader) in newInstance() argument 96 if (classLoader == null) { in newInstance() 97 classLoader = Thread.currentThread().getContextClassLoader(); in newInstance() 100 Class<?> type = classLoader != null in newInstance() 101 ? classLoader.loadClass(factoryClassName) in newInstance()
|
/libcore/luni/src/main/java/javax/xml/parsers/ |
D | SAXParserFactory.java | 77 ClassLoader classLoader) { in newInstance() argument 81 if (classLoader == null) { in newInstance() 82 classLoader = Thread.currentThread().getContextClassLoader(); in newInstance() 85 Class<?> type = classLoader != null in newInstance() 86 ? classLoader.loadClass(factoryClassName) in newInstance()
|
D | DocumentBuilderFactory.java | 65 ClassLoader classLoader) { in newInstance() argument 69 if (classLoader == null) { in newInstance() 70 classLoader = Thread.currentThread().getContextClassLoader(); in newInstance() 73 Class<?> type = classLoader != null in newInstance() 74 ? classLoader.loadClass(factoryClassName) in newInstance()
|
/libcore/luni/src/test/java/libcore/util/ |
D | NativeAllocationRegistryTest.java | 27 private ClassLoader classLoader = NativeAllocationRegistryTest.class.getClassLoader(); field in NativeAllocationRegistryTest 58 classLoader, getNativeFinalizer(), nativeSize); in testNativeAllocation() 66 classLoader, getNativeFinalizer(), nativeSize); in testNativeAllocation() 114 classLoader, getNativeFinalizer(), -8); in testBadSize() 122 = new NativeAllocationRegistry(classLoader, getNativeFinalizer(), size); in testEarlyFree() 144 = new NativeAllocationRegistry(classLoader, getNativeFinalizer(), 1024); in testNullArguments()
|
/libcore/luni/src/main/java/org/xml/sax/helpers/ |
D | NewInstance.java | 41 static Object newInstance (ClassLoader classLoader, String className) in newInstance() argument 46 if (classLoader == null) { in newInstance() 49 driverClass = classLoader.loadClass(className); in newInstance()
|
/libcore/luni/src/main/java/libcore/util/ |
D | NativeAllocationRegistry.java | 43 private final ClassLoader classLoader; field in NativeAllocationRegistry 76 public NativeAllocationRegistry(ClassLoader classLoader, long freeFunction, long size) { in NativeAllocationRegistry() argument 81 this.classLoader = classLoader; in NativeAllocationRegistry()
|
/libcore/luni/src/main/java/libcore/reflect/ |
D | InternalNames.java | 28 public static Class<?> getClass(ClassLoader classLoader, String internalName) { in getClass() argument 30 Class<?> componentClass = getClass(classLoader, internalName.substring(1)); in getClass() 53 return classLoader.loadClass(name); in getClass()
|
/libcore/dom/src/test/java/org/w3c/domts/ |
D | DOM4JTestDocumentBuilderFactory.java | 68 ClassLoader classLoader = ClassLoader.getSystemClassLoader(); in DOM4JTestDocumentBuilderFactory() local 69 Class domFactoryClass = classLoader.loadClass( in DOM4JTestDocumentBuilderFactory() 74 Class saxReaderClass = classLoader.loadClass("org.dom4j.io.SAXReader"); in DOM4JTestDocumentBuilderFactory() 76 new Class[] {classLoader.loadClass("org.dom4j.DocumentFactory")}); in DOM4JTestDocumentBuilderFactory()
|
D | XercesHTML2DocumentBuilderFactory.java | 55 ClassLoader classLoader = ClassLoader.getSystemClassLoader(); in XercesHTML2DocumentBuilderFactory() local 57 classLoader.loadClass("org.apache.html2.dom.HTMLBuilder"); in XercesHTML2DocumentBuilderFactory() 66 classLoader.loadClass( in XercesHTML2DocumentBuilderFactory() 73 classLoader.loadClass( in XercesHTML2DocumentBuilderFactory()
|
D | XercesHTMLDocumentBuilderFactory.java | 55 ClassLoader classLoader = ClassLoader.getSystemClassLoader(); in XercesHTMLDocumentBuilderFactory() local 57 classLoader.loadClass("org.apache.html.dom.HTMLBuilder"); in XercesHTMLDocumentBuilderFactory() 66 classLoader.loadClass( in XercesHTMLDocumentBuilderFactory() 73 classLoader.loadClass( in XercesHTMLDocumentBuilderFactory()
|
D | JTidyDocumentBuilderFactory.java | 47 ClassLoader classLoader = ClassLoader.getSystemClassLoader(); in JTidyDocumentBuilderFactory() local 48 Class tidyClass = classLoader.loadClass("org.w3c.tidy.Tidy"); in JTidyDocumentBuilderFactory()
|
D | BatikTestDocumentBuilderFactory.java | 83 ClassLoader classLoader = ClassLoader.getSystemClassLoader(); in BatikTestDocumentBuilderFactory() local 85 classLoader.loadClass( in BatikTestDocumentBuilderFactory()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ClassLoaderTest.java | 203 private static void assertGetResourceAsStreamNotNull(ClassLoader classLoader, in assertGetResourceAsStreamNotNull() argument 207 is = classLoader.getResourceAsStream(resourceName); in assertGetResourceAsStreamNotNull() 216 private static void assertGetResourceIsValid(ClassLoader classLoader, String resourceName) { in assertGetResourceIsValid() argument 217 java.net.URL u = classLoader.getResource(resourceName); in assertGetResourceIsValid()
|
/libcore/support/src/test/java/tests/util/ |
D | ClassLoaderBuilder.java | 127 ClassLoader classLoader = Thread.currentThread().getContextClassLoader(); in getApplicationClassPath() local 128 URL manifest = classLoader.getResource(manifestFile); in getApplicationClassPath()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Runtime.java | 991 public void loadLibrary(String libname, ClassLoader classLoader) { in loadLibrary() argument 995 loadLibrary0(classLoader, libname); in loadLibrary()
|
D | Class.java | 118 private transient ClassLoader classLoader; field in Class 467 ClassLoader classLoader) throws ClassNotFoundException; in classForName() argument 781 return (classLoader == null) ? BootClassLoader.getInstance() : classLoader; in getClassLoader()
|
/libcore/ojluni/src/main/java/java/sql/ |
D | DriverManager.java | 457 private static boolean isDriverAllowed(Driver driver, ClassLoader classLoader) { in isDriverAllowed() argument 462 aClass = Class.forName(driver.getClass().getName(), true, classLoader); in isDriverAllowed()
|
/libcore/luni/src/test/java/libcore/java/lang/reflect/ |
D | ParameterTest.java | 1061 ClassLoader classLoader = ParameterTest.class.getClassLoader(); in copyResource() local 1062 assertNotNull(classLoader); in copyResource() 1066 try (InputStream in = classLoader.getResourceAsStream(fullResourcePath); in copyResource()
|
/libcore/ojluni/src/main/java/java/util/ |
D | ResourceBundle.java | 2653 final ClassLoader classLoader = loader; in newBundle() local 2662 URL url = classLoader.getResource(resourceName); in newBundle() 2673 is = classLoader.getResourceAsStream(resourceName); in newBundle()
|