Home
last modified time | relevance | path

Searched refs:getClassLoader (Results 1 – 25 of 67) sorted by relevance

123

/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/reflect/
DProxyTest.java69 .getClassLoader(), new Class[] { Support_Proxy_I1.class }); in test_getProxyClassLjava_lang_ClassLoader$Ljava_lang_Class()
94 .getClassLoader(), new Class[] { Support_Proxy_I1.class, in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler()
149 .getClassLoader(), new Class[] { Broken1.class }, in test_newProxyInstanceLjava_lang_ClassLoader$Ljava_lang_ClassLjava_lang_reflect_InvocationHandler()
161 .getClassLoader(), new Class[] { Support_Proxy_I1.class }); in test_isProxyClassLjava_lang_Class()
197 .getClassLoader(), new Class[] { Support_Proxy_I1.class }, in test_getInvocationHandlerLjava_lang_Object()
212 .newProxyInstance(this.getClass().getClassLoader(), in test_newProxyInstance_withCompatibleReturnTypes()
222 assertSame(null, pc.getClassLoader()); in test_getProxyClass_loader()
227 assertSame(od.getClassLoader(), pd.getClassLoader()); in test_getProxyClass_loader()
232 Class pc = Proxy.getProxyClass(PkgIntf.class.getClassLoader(), in test_getProxyClass_package()
235 assertSame(PkgIntf.class.getClassLoader(), pc.getClassLoader()); in test_getProxyClass_package()
[all …]
/external/emma/core/java12/com/vladium/util/
DClassLoaderResolver.java45 public static synchronized ClassLoader getClassLoader (final Class caller) in getClassLoader() method in ClassLoaderResolver
49 return s_strategy.getClassLoader (ctx); in getClassLoader()
67 public static synchronized ClassLoader getClassLoader () in getClassLoader() method in ClassLoaderResolver
72 return s_strategy.getClassLoader (ctx); in getClassLoader()
144 public ClassLoader getClassLoader (final ClassLoadContext ctx) in getClassLoader() method in ClassLoaderResolver.DefaultClassLoadStrategy
157 final ClassLoader callerLoader = caller.getClassLoader (); in getClassLoader()
DResourceLoader.java37 final ClassLoader loader = ClassLoaderResolver.getClassLoader (caller); in loadClass()
48 final ClassLoader loader = ClassLoaderResolver.getClassLoader (caller); in getResource()
62 final ClassLoader loader = ClassLoaderResolver.getClassLoader (caller); in getResourceAsStream()
77 final ClassLoader loader = ClassLoaderResolver.getClassLoader (caller); in getResources()
DIClassLoadStrategy.java28 ClassLoader getClassLoader (ClassLoadContext ctx); in getClassLoader() method
/external/easymock/src/org/easymock/internal/
DEasyMockProperties.java58 InputStream in = getClassLoader().getResourceAsStream( in EasyMockProperties()
132 private ClassLoader getClassLoader() { in getClassLoader() method in EasyMockProperties
142 cl = getClass().getClassLoader(); in getClassLoader()
DJavaProxyFactory.java24 return (T) Proxy.newProxyInstance(toMock.getClassLoader(), in createProxy()
/external/emma/core/java12/com/vladium/emma/rt/
DRT.java39 ClassLoader loader = RT.class.getClassLoader (); in reset()
150 … if (DEBUG) System.out.println ("RT::dumpCoverageData() DUMPING " + RT.class.getClassLoader ()); in dumpCoverageData()
218 …T[" + System.identityHashCode (RT.class) + "]::<clinit>: loaded by " + RT.class.getClassLoader ());
/external/apache-http/src/org/apache/commons/logging/
DLogFactory.java764 protected static ClassLoader getClassLoader(Class clazz) { in getClassLoader() method in LogFactory
766 return clazz.getClassLoader(); in getClassLoader()
873 classLoader = getClassLoader(LogFactory.class);
1092 … + " loaded from classloader " + objectId(logFactoryClass.getClassLoader())
1235 ClassLoader logFactoryClassLoader = logFactoryClass.getClassLoader();
1628 classLoader = getClassLoader(clazz);
1732 thisClassLoader = getClassLoader(LogFactory.class);
/external/emma/core/java12/com/vladium/emma/data/
DmergeCommand.java39 loader = ClassLoaderResolver.getClassLoader (); in run()
43 loader = getClass ().getClassLoader (); in run()
/external/apache-http/src/org/apache/commons/logging/impl/
DLogFactoryImpl.java443 protected static ClassLoader getClassLoader(Class clazz) { in getClassLoader() method in LogFactoryImpl
444 return LogFactory.getClassLoader(clazz); in getClassLoader()
473 ClassLoader classLoader = getClassLoader(clazz); in initDiagnostics()
1135 + "' from classloader " + objectId(logAdapterClass.getClassLoader()) in createLogFromClass()
1162 ClassLoader thisClassLoader = getClassLoader(LogFactoryImpl.class); in getBaseClassLoader()
1340 ClassLoader logInterfaceClassLoader = getClassLoader(Log.class); in handleFlawedHierarchy()
/external/emma/core/java12/com/vladium/emma/report/
DreportCommand.java41 loader = ClassLoaderResolver.getClassLoader (); in run()
45 loader = getClass ().getClassLoader (); in run()
/external/emma/core/java12/com/vladium/emma/instr/
DinstrCommand.java42 loader = ClassLoaderResolver.getClassLoader (); in run()
46 loader = getClass ().getClassLoader (); in run()
/external/apache-xml/src/main/java/org/apache/xpath/functions/
DObjectFactory.java414 ClassLoader current = ObjectFactory.class.getClassLoader(); in findClassLoader()
512 ClassLoader current = ObjectFactory.class.getClassLoader(); in findProviderClass()
548 ClassLoader current = ObjectFactory.class.getClassLoader(); in findJarServiceProviderName()
/external/apache-xml/src/main/java/org/apache/xml/serializer/
DObjectFactory.java413 ClassLoader current = ObjectFactory.class.getClassLoader(); in findClassLoader()
511 ClassLoader current = ObjectFactory.class.getClassLoader(); in findProviderClass()
547 ClassLoader current = ObjectFactory.class.getClassLoader(); in findJarServiceProviderName()
/external/apache-xml/src/main/java/org/apache/xalan/xslt/
DObjectFactory.java414 ClassLoader current = ObjectFactory.class.getClassLoader(); in findClassLoader()
512 ClassLoader current = ObjectFactory.class.getClassLoader(); in findProviderClass()
548 ClassLoader current = ObjectFactory.class.getClassLoader(); in findJarServiceProviderName()
/external/apache-xml/src/main/java/org/apache/xml/utils/
DObjectFactory.java414 ClassLoader current = ObjectFactory.class.getClassLoader(); in findClassLoader()
512 ClassLoader current = ObjectFactory.class.getClassLoader(); in findProviderClass()
548 ClassLoader current = ObjectFactory.class.getClassLoader(); in findJarServiceProviderName()
/external/apache-xml/src/main/java/org/apache/xml/dtm/
DObjectFactory.java414 ClassLoader current = ObjectFactory.class.getClassLoader(); in findClassLoader()
512 ClassLoader current = ObjectFactory.class.getClassLoader(); in findProviderClass()
548 ClassLoader current = ObjectFactory.class.getClassLoader(); in findJarServiceProviderName()
/external/javassist/sample/reflect/
DMain.java25 Loader cl = (Loader)Main.class.getClassLoader(); in main()
/external/apache-harmony/luni/src/test/api/common/
DProxy2Test.java29 Class pc = Proxy.getProxyClass(DefaultPkgIntf.class.getClassLoader(), in test_getProxyClass_DefaultPackage()
/external/javassist/src/main/javassist/scopedpool/
DScopedClassPool.java101 public ClassLoader getClassLoader() { in getClassLoader() method in ScopedClassPool
195 .getClassLoader()); in getCached()
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DTestHelper_ClassLoader.java126 ClassLoader testClassLoader = theClass.getClassLoader(); in loadClassFromFile()
190 ClassLoader testClassLoader = theClass.getClassLoader(); in loadClassFromJar()
DTestHelper_DriverManager.java104 ClassLoader theClassLoader = theClass.getClassLoader(); in printClassLoader()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DProtectionDomainTest.java107 assertNull(new ProtectionDomain(null, null).getClassLoader()); in testGetClassLoader()
109 .getClassLoader(), classldr); in testGetClassLoader()
/external/apache-xml/src/main/java/org/apache/xalan/extensions/
DObjectFactory.java95 ClassLoader current = ObjectFactory.class.getClassLoader(); in findProviderClass()
/external/emma/core/java12/com/vladium/emma/
DrunCommand.java38 loader = ClassLoaderResolver.getClassLoader (); in run()
42 loader = getClass ().getClassLoader (); in run()

123