/libcore/luni/src/main/java/org/apache/xml/utils/ |
D | SecuritySupport12.java | 49 ClassLoader cl = null; in getContextClassLoader() 51 cl = Thread.currentThread().getContextClassLoader(); in getContextClassLoader() 53 return cl; in getContextClassLoader() 62 ClassLoader cl = null; 64 cl = ClassLoader.getSystemClassLoader(); 66 return cl; 71 ClassLoader getParentClassLoader(final ClassLoader cl) { 77 parent = cl.getParent(); 82 return (parent == cl) ? null : parent; 111 InputStream getResourceAsStream(final ClassLoader cl, [all …]
|
D | ObjectFactory.java | 211 ClassLoader cl = findClassLoader(); in lookUpFactoryClass() local 220 cl, in lookUpFactoryClass() 223 " using ClassLoader: " + cl); in lookUpFactoryClass() 452 static Object newInstance(String className, ClassLoader cl, in newInstance() argument 458 Class providerClass = findProviderClass(className, cl, doFallback); in newInstance() 461 " using ClassLoader: " + cl); in newInstance() 476 static Class findProviderClass(String className, ClassLoader cl, in findProviderClass() argument 495 if (cl == null) { in findProviderClass() 508 providerClass = cl.loadClass(className); in findProviderClass() 515 } else if (cl != current) { in findProviderClass() [all …]
|
D | SecuritySupport.java | 94 ClassLoader getParentClassLoader(ClassLoader cl) { in getParentClassLoader() argument 108 InputStream getResourceAsStream(ClassLoader cl, String name) { in getResourceAsStream() argument 110 if (cl == null) { in getResourceAsStream() 113 ris = cl.getResourceAsStream(name); in getResourceAsStream()
|
/libcore/luni/src/main/java/org/apache/xpath/functions/ |
D | SecuritySupport12.java | 49 ClassLoader cl = null; in getContextClassLoader() 51 cl = Thread.currentThread().getContextClassLoader(); in getContextClassLoader() 53 return cl; in getContextClassLoader() 62 ClassLoader cl = null; 64 cl = ClassLoader.getSystemClassLoader(); 66 return cl; 71 ClassLoader getParentClassLoader(final ClassLoader cl) { 77 parent = cl.getParent(); 82 return (parent == cl) ? null : parent; 111 InputStream getResourceAsStream(final ClassLoader cl, [all …]
|
D | ObjectFactory.java | 211 ClassLoader cl = findClassLoader(); in lookUpFactoryClass() local 220 cl, in lookUpFactoryClass() 223 " using ClassLoader: " + cl); in lookUpFactoryClass() 452 static Object newInstance(String className, ClassLoader cl, in newInstance() argument 458 Class providerClass = findProviderClass(className, cl, doFallback); in newInstance() 461 " using ClassLoader: " + cl); in newInstance() 476 static Class findProviderClass(String className, ClassLoader cl, in findProviderClass() argument 495 if (cl == null) { in findProviderClass() 508 providerClass = cl.loadClass(className); in findProviderClass() 515 } else if (cl != current) { in findProviderClass() [all …]
|
/libcore/luni/src/main/java/org/apache/xalan/xslt/ |
D | SecuritySupport12.java | 49 ClassLoader cl = null; in getContextClassLoader() 51 cl = Thread.currentThread().getContextClassLoader(); in getContextClassLoader() 53 return cl; in getContextClassLoader() 62 ClassLoader cl = null; 64 cl = ClassLoader.getSystemClassLoader(); 66 return cl; 71 ClassLoader getParentClassLoader(final ClassLoader cl) { 77 parent = cl.getParent(); 82 return (parent == cl) ? null : parent; 111 InputStream getResourceAsStream(final ClassLoader cl, [all …]
|
D | ObjectFactory.java | 211 ClassLoader cl = findClassLoader(); in lookUpFactoryClass() local 220 cl, in lookUpFactoryClass() 223 " using ClassLoader: " + cl); in lookUpFactoryClass() 452 static Object newInstance(String className, ClassLoader cl, in newInstance() argument 458 Class providerClass = findProviderClass(className, cl, doFallback); in newInstance() 461 " using ClassLoader: " + cl); in newInstance() 476 static Class findProviderClass(String className, ClassLoader cl, in findProviderClass() argument 495 if (cl == null) { in findProviderClass() 508 providerClass = cl.loadClass(className); in findProviderClass() 515 } else if (cl != current) { in findProviderClass() [all …]
|
D | SecuritySupport.java | 94 ClassLoader getParentClassLoader(ClassLoader cl) { in getParentClassLoader() argument 108 InputStream getResourceAsStream(ClassLoader cl, String name) { in getResourceAsStream() argument 110 if (cl == null) { in getResourceAsStream() 113 ris = cl.getResourceAsStream(name); in getResourceAsStream()
|
/libcore/luni/src/main/java/org/apache/xml/dtm/ |
D | SecuritySupport12.java | 49 ClassLoader cl = null; in getContextClassLoader() 51 cl = Thread.currentThread().getContextClassLoader(); in getContextClassLoader() 53 return cl; in getContextClassLoader() 62 ClassLoader cl = null; 64 cl = ClassLoader.getSystemClassLoader(); 66 return cl; 71 ClassLoader getParentClassLoader(final ClassLoader cl) { 77 parent = cl.getParent(); 82 return (parent == cl) ? null : parent; 111 InputStream getResourceAsStream(final ClassLoader cl, [all …]
|
D | ObjectFactory.java | 211 ClassLoader cl = findClassLoader(); in lookUpFactoryClass() local 220 cl, in lookUpFactoryClass() 223 " using ClassLoader: " + cl); in lookUpFactoryClass() 452 static Object newInstance(String className, ClassLoader cl, in newInstance() argument 458 Class providerClass = findProviderClass(className, cl, doFallback); in newInstance() 461 " using ClassLoader: " + cl); in newInstance() 476 static Class findProviderClass(String className, ClassLoader cl, in findProviderClass() argument 495 if (cl == null) { in findProviderClass() 508 providerClass = cl.loadClass(className); in findProviderClass() 515 } else if (cl != current) { in findProviderClass() [all …]
|
/libcore/luni/src/main/java/org/apache/xml/dtm/ref/ |
D | SecuritySupport12.java | 49 ClassLoader cl = null; in getContextClassLoader() 51 cl = Thread.currentThread().getContextClassLoader(); in getContextClassLoader() 53 return cl; in getContextClassLoader() 62 ClassLoader cl = null; 64 cl = ClassLoader.getSystemClassLoader(); 66 return cl; 71 ClassLoader getParentClassLoader(final ClassLoader cl) { 77 parent = cl.getParent(); 82 return (parent == cl) ? null : parent; 111 InputStream getResourceAsStream(final ClassLoader cl, [all …]
|
D | SecuritySupport.java | 94 ClassLoader getParentClassLoader(ClassLoader cl) { in getParentClassLoader() argument 108 InputStream getResourceAsStream(ClassLoader cl, String name) { in getResourceAsStream() argument 110 if (cl == null) { in getResourceAsStream() 113 ris = cl.getResourceAsStream(name); in getResourceAsStream()
|
/libcore/luni/src/main/java/org/apache/xml/serializer/ |
D | SecuritySupport12.java | 46 ClassLoader cl = null; in getContextClassLoader() 48 cl = Thread.currentThread().getContextClassLoader(); in getContextClassLoader() 50 return cl; in getContextClassLoader() 59 ClassLoader cl = null; 61 cl = ClassLoader.getSystemClassLoader(); 63 return cl; 68 ClassLoader getParentClassLoader(final ClassLoader cl) { 74 parent = cl.getParent(); 79 return (parent == cl) ? null : parent; 108 InputStream getResourceAsStream(final ClassLoader cl, [all …]
|
D | ObjectFactory.java | 210 ClassLoader cl = findClassLoader(); in lookUpFactoryClass() local 219 cl, in lookUpFactoryClass() 222 " using ClassLoader: " + cl); in lookUpFactoryClass() 451 static Object newInstance(String className, ClassLoader cl, in newInstance() argument 457 Class providerClass = findProviderClass(className, cl, doFallback); in newInstance() 460 " using ClassLoader: " + cl); in newInstance() 475 static Class findProviderClass(String className, ClassLoader cl, in findProviderClass() argument 494 if (cl == null) { in findProviderClass() 507 providerClass = cl.loadClass(className); in findProviderClass() 514 } else if (cl != current) { in findProviderClass() [all …]
|
D | SecuritySupport.java | 92 ClassLoader getParentClassLoader(ClassLoader cl) { in getParentClassLoader() argument 106 InputStream getResourceAsStream(ClassLoader cl, String name) { in getResourceAsStream() argument 108 if (cl == null) { in getResourceAsStream() 111 ris = cl.getResourceAsStream(name); in getResourceAsStream()
|
/libcore/luni/src/main/java/javax/xml/validation/ |
D | SecuritySupport.java | 48 ClassLoader cl = null; in getContextClassLoader() 50 cl = Thread.currentThread().getContextClassLoader(); in getContextClassLoader() 52 return cl; in getContextClassLoader() 96 static URL getResourceAsURL(final ClassLoader cl, 103 if (cl == null) { 107 url = cl.getResource(name); 114 static Enumeration getResources(final ClassLoader cl, 122 if (cl == null) { 126 enumeration = cl.getResources(name); 136 static InputStream getResourceAsStream(final ClassLoader cl, [all …]
|
/libcore/luni/src/main/java/javax/xml/xpath/ |
D | SecuritySupport.java | 48 ClassLoader cl = null; in getContextClassLoader() 50 cl = Thread.currentThread().getContextClassLoader(); in getContextClassLoader() 52 return cl; in getContextClassLoader() 96 static URL getResourceAsURL(final ClassLoader cl, 103 if (cl == null) { 107 url = cl.getResource(name); 114 static Enumeration getResources(final ClassLoader cl, 122 if (cl == null) { 126 enumeration = cl.getResources(name); 136 static InputStream getResourceAsStream(final ClassLoader cl, [all …]
|
/libcore/luni/src/main/java/java/io/ |
D | ObjectStreamField.java | 89 public ObjectStreamField(String name, Class<?> cl) { in ObjectStreamField() argument 90 if (name == null || cl == null) { in ObjectStreamField() 94 this.type = new WeakReference<Class<?>>(cl); in ObjectStreamField() 112 public ObjectStreamField(String name, Class<?> cl, boolean unshared) { in ObjectStreamField() argument 113 if (name == null || cl == null) { in ObjectStreamField() 117 this.type = (cl.getClassLoader() == null) ? cl in ObjectStreamField() 118 : new WeakReference<Class<?>>(cl); in ObjectStreamField() 221 Class<?> cl = getTypeInternal(); in getType() local 222 if (isDeserialized && !cl.isPrimitive()) { in getType() 225 return cl; in getType() [all …]
|
D | ObjectStreamClass.java | 225 private static ObjectStreamClass createClassDesc(Class<?> cl) { in createClassDesc() argument 229 boolean isArray = cl.isArray(); in createClassDesc() 230 boolean serializable = isSerializable(cl); in createClassDesc() 231 boolean externalizable = isExternalizable(cl); in createClassDesc() 237 result.setName(cl.getName()); in createClassDesc() 238 result.setClass(cl); in createClassDesc() 239 Class<?> superclass = cl.getSuperclass(); in createClassDesc() 251 declaredFields = cl.getDeclaredFields(); in createClassDesc() 252 result.setSerialVersionUID(computeSerialVersionUID(cl, in createClassDesc() 260 declaredFields = cl.getDeclaredFields(); in createClassDesc() [all …]
|
/libcore/luni/src/main/java/org/apache/xalan/extensions/ |
D | ObjectFactory.java | 59 static Class findProviderClass(String className, ClassLoader cl, in findProviderClass() argument 78 if (cl == null) { in findProviderClass() 91 providerClass = cl.loadClass(className); in findProviderClass() 98 } else if (cl != current) { in findProviderClass() 99 cl = current; in findProviderClass() 100 providerClass = cl.loadClass(className); in findProviderClass()
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/java/lang/ |
D | ClassLoaderTest.java | 114 ClassLoader cl; field in ClassLoaderTest.SyncLoadTestThread 117 SyncLoadTestThread(ClassLoader cl) { in SyncLoadTestThread() argument 118 this.cl = cl; in SyncLoadTestThread() 125 cls = Class.forName("TestClass", false, cl); in run() 141 SyncTestClassLoader cl = new SyncTestClassLoader(lock); in test_loadClass_concurrentLoad() local 142 SyncLoadTestThread tt1 = new SyncLoadTestThread(cl); in test_loadClass_concurrentLoad() 143 SyncLoadTestThread tt2 = new SyncLoadTestThread(cl); in test_loadClass_concurrentLoad() 160 assertEquals("Both threads tried to define class", 1, cl.numFindClassCalled); in test_loadClass_concurrentLoad() 205 ClassLoader cl = ClassLoader.getSystemClassLoader(); in test_getSystemClassLoader() local 206 java.io.InputStream is = cl.getResourceAsStream("hyts_Foo.c"); in test_getSystemClassLoader()
|
/libcore/luni/src/main/java/javax/xml/parsers/ |
D | SecuritySupport.java | 46 ClassLoader cl = null; in getContextClassLoader() 48 cl = Thread.currentThread().getContextClassLoader(); in getContextClassLoader() 50 return cl; in getContextClassLoader() 79 static InputStream getResourceAsStream(final ClassLoader cl, 86 if (cl == null) { 89 ris = cl.getResourceAsStream(name);
|
/libcore/luni/src/main/java/javax/xml/datatype/ |
D | SecuritySupport.java | 46 ClassLoader cl = null; in getContextClassLoader() 48 cl = Thread.currentThread().getContextClassLoader(); in getContextClassLoader() 50 return cl; in getContextClassLoader() 79 static InputStream getResourceAsStream(final ClassLoader cl, 86 if (cl == null) { 89 ris = cl.getResourceAsStream(name);
|
/libcore/luni/src/main/java/javax/xml/transform/ |
D | SecuritySupport.java | 46 ClassLoader cl = null; in getContextClassLoader() 48 cl = Thread.currentThread().getContextClassLoader(); in getContextClassLoader() 50 return cl; in getContextClassLoader() 79 static InputStream getResourceAsStream(final ClassLoader cl, 86 if (cl == null) { 89 ris = cl.getResourceAsStream(name);
|
/libcore/luni/src/main/java/javax/net/ssl/ |
D | SSLServerSocketFactory.java | 53 ClassLoader cl = Thread.currentThread().getContextClassLoader(); in getDefault() 54 if (cl == null) { in getDefault() 55 cl = ClassLoader.getSystemClassLoader(); in getDefault() 58 final Class<?> ssfc = Class.forName(defaultName, true, cl); in getDefault()
|