Home
last modified time | relevance | path

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

123456789

/external/guava/guava-tests/test/com/google/common/reflect/
DClassPathTest.java61 ClassPath classpath = ClassPath.from(getClass().getClassLoader()); in testGetResources()
81 assertEquals(getClass().getClassLoader().getResource(testResourceName), in testGetResources()
91 ClassPath classpath = ClassPath.from(getClass().getClassLoader()); in testGetAllClasses()
120 ClassPath classpath = ClassPath.from(getClass().getClassLoader()); in testGetTopLevelClasses()
139 ClassPath classpath = ClassPath.from(ClassPathTest.class.getClassLoader()); in testGetTopLevelClassesRecursive()
151 ClassLoader parent = ClassPathTest.class.getClassLoader(); in testGetTopLevelClasses_diamond()
161 .addEqualityGroup(classInfo(Test.class), classInfo(Test.class, getClass().getClassLoader())) in testEquals()
163 new ResourceInfo("a/b/c.txt", getClass().getClassLoader()), in testEquals()
164 new ResourceInfo("a/b/c.txt", getClass().getClassLoader())) in testEquals()
166 new ResourceInfo("x.txt", getClass().getClassLoader())) in testEquals()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DClassLoaderUtil.java35 super(Object.class.getClassLoader()); in BootstrapClassLoader()
75 public static ClassLoader getClassLoader(Class<?> cls) { in getClassLoader() method in ClassLoaderUtil
76 ClassLoader cl = cls.getClassLoader(); in getClassLoader()
78 cl = getClassLoader(); in getClassLoader()
87 public static ClassLoader getClassLoader() { in getClassLoader() method in ClassLoaderUtil
/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/jetty/src/java/org/eclipse/jetty/continuation/
DContinuationSupport.java49 …Class<? extends Continuation> s3c = ContinuationSupport.class.getClassLoader().loadClass("org.ecli…
66 …Class<?> jetty6ContinuationClass = ContinuationSupport.class.getClassLoader().loadClass("org.mortb…
70 …Class<? extends Continuation> j6c = ContinuationSupport.class.getClassLoader().loadClass("org.ecli…
86 …waiting=ContinuationSupport.class.getClassLoader().loadClass("org.mortbay.util.ajax.WaitingContinu…
/external/mockito/src/org/mockito/internal/creation/jmock/
DSearchingClassLoader.java30 addIfNewElement(loaders, first.getClassLoader()); in combineLoadersOf()
32 addIfNewElement(loaders, c.getClassLoader()); in combineLoadersOf()
40 addIfNewElement(loaders, SearchingClassLoader.class.getClassLoader()); in combineLoadersOf()
DClassImposterizer.java67 …mockedType.getCanonicalName() + "', loaded by classloader : '" + mockedType.getClassLoader() + "'", in imposterise()
68 …proxyClass.getCanonicalName() + "', loaded by classloader : '" + proxyClass.getClassLoader() + "'", in imposterise()
69 …CanonicalName() + "', loaded by classloader : '" + proxyInstance.getClass().getClassLoader() + "'", in imposterise()
/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()
/external/jetty/src/java/org/eclipse/jetty/servlet/listener/
DELContextCleaner.java116 LOG.info("Clazz: "+clazz+" loaded by "+clazz.getClassLoader()); in purgeEntries()
117 if (Thread.currentThread().getContextClassLoader().equals(clazz.getClassLoader())) in purgeEntries()
123 …er="+Thread.currentThread().getContextClassLoader()+"clazz's classloader="+clazz.getClassLoader()); in purgeEntries()
/external/mockito/cglib-and-asm/src/org/mockito/cglib/core/
DAbstractClassGenerator.java67 className = getClassName(getClassLoader()); in getClassName()
168 public ClassLoader getClassLoader() {
174 t = getClass().getClassLoader();
192 ClassLoader loader = getClassLoader();
/external/jetty/src/java/org/eclipse/jetty/util/preventers/
DAbstractLeakPreventer.java53 Thread.currentThread().setContextClassLoader(getClass().getClassLoader()); in doStart()
54 prevent(getClass().getClassLoader()); in doStart()
/external/guava/guava-tests/test/com/google/common/base/
DFinalizableReferenceQueueClassLoaderUnloadingTest.java93 final URLClassLoader myLoader = (URLClassLoader) getClass().getClassLoader(); in useFrqInSeparateLoader()
126 assertSame(sepLoader, sepStopwatchC.getClassLoader()); in useFrqInSeparateLoader()
217 final URLClassLoader myLoader = (URLClassLoader) getClass().getClassLoader(); in doTestUnloadableInStaticFieldIfClosed()
234 assertSame(sepLoader, sepFrqUserC.getClassLoader()); in doTestUnloadableInStaticFieldIfClosed()
/external/guava/guava/src/com/google/common/reflect/
DReflection.java69 Class.forName(clazz.getName(), true, clazz.getClassLoader()); in initialize()
91 interfaceType.getClassLoader(), in newProxy()
/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/protobuf/java/src/device/test/java/com/google/protobuf/nano/
DNanoAndroidTest.java55 message = parcel.readParcelable(getClass().getClassLoader()); in testParceling()
77 message = parcel.readParcelable(getClass().getClassLoader()); in testExtendableParceling()
/external/jetty/src/java/org/eclipse/jetty/util/
DLoader.java59 loader=loadClass==null?null:loadClass.getClassLoader(); in getResource()
105 loader=loadClass==null?null:loadClass.getClassLoader(); in loadClass()
140 loader=loadClass==null?null:loadClass.getClassLoader(); in getResourceBundle()
/external/apache-http/src/org/apache/commons/logging/
DLogFactory.java769 protected static ClassLoader getClassLoader(Class clazz) { in getClassLoader() method in LogFactory
771 return clazz.getClassLoader(); in getClassLoader()
878 classLoader = getClassLoader(LogFactory.class);
1097 … + " loaded from classloader " + objectId(logFactoryClass.getClassLoader())
1240 ClassLoader logFactoryClassLoader = logFactoryClass.getClassLoader();
1633 classLoader = getClassLoader(clazz);
1737 thisClassLoader = getClassLoader(LogFactory.class);
/external/apache-http/src/org/apache/commons/logging/impl/
DLogFactoryImpl.java448 protected static ClassLoader getClassLoader(Class clazz) { in getClassLoader() method in LogFactoryImpl
449 return LogFactory.getClassLoader(clazz); in getClassLoader()
478 ClassLoader classLoader = getClassLoader(clazz); in initDiagnostics()
1140 + "' from classloader " + objectId(logAdapterClass.getClassLoader()) in createLogFromClass()
1167 ClassLoader thisClassLoader = getClassLoader(LogFactoryImpl.class); in getBaseClassLoader()
1345 ClassLoader logInterfaceClassLoader = getClassLoader(Log.class); in handleFlawedHierarchy()
/external/robolectric/src/main/java/com/xtremelabs/robolectric/bytecode/
DRobolectricClassLoader.java21 super(RobolectricClassLoader.class.getClassLoader(), null); in RobolectricClassLoader()
37 … classPool.appendClassPath(new LoaderClassPath(RobolectricClassLoader.class.getClassLoader())); in RobolectricClassLoader()
/external/emma/core/java12/com/vladium/emma/data/
DmergeCommand.java39 loader = ClassLoaderResolver.getClassLoader (); in run()
43 loader = getClass ().getClassLoader (); in run()
/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/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/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()

123456789