- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for getSystemClassLoader (0.11 seconds)
-
android/guava/src/com/google/common/reflect/ClassPath.java
* * <ul> * <li>It looks only for files and JARs in URLs available from {@link URLClassLoader} instances or * the {@linkplain ClassLoader#getSystemClassLoader() system class loader}. This means it does * not look for classes in the <i>module path</i>. * <li>It understands only {@code file:} URLs. This means that it does not understand <a
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 24.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
// Check the assumptions above. // FRQ tries to load the Finalizer class (for the reference-collecting thread) in a few ways. // If the class is accessible to the system ClassLoader (ClassLoader.getSystemClassLoader()) // then FRQ does not bother to load Finalizer.class through a separate ClassLoader. That happens // in our test environment, which foils the purpose of this test, so we disable the logic forCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 7.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
// Check the assumptions above. // FRQ tries to load the Finalizer class (for the reference-collecting thread) in a few ways. // If the class is accessible to the system ClassLoader (ClassLoader.getSystemClassLoader()) // then FRQ does not bother to load Finalizer.class through a separate ClassLoader. That happens // in our test environment, which foils the purpose of this test, so we disable the logic forCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 7.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
.testEquals(); } @AndroidIncompatible // ClassPath is documented as not supporting Android public void testScanAllResources() throws IOException { assertThat(scanResourceNames(ClassLoader.getSystemClassLoader())) .contains("com/google/common/reflect/ClassPathTest.class"); } private static ClassPath.ClassInfo findClass( Iterable<ClassPath.ClassInfo> classes, Class<?> cls) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 23.1K bytes - Click Count (0) -
guava/src/com/google/common/base/FinalizableReferenceQueue.java
// We need not worry about class unloading under Android. Plus, this approach wouldn't work. return null; } ClassLoader systemLoader; try { systemLoader = ClassLoader.getSystemClassLoader(); } catch (SecurityException e) { logger.info("Not allowed to access system class loader."); return null; } if (systemLoader != null) { try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 19:26:59 GMT 2026 - 15.8K bytes - Click Count (0) -
android/guava/src/com/google/common/base/FinalizableReferenceQueue.java
// We need not worry about class unloading under Android. Plus, this approach wouldn't work. return null; } ClassLoader systemLoader; try { systemLoader = ClassLoader.getSystemClassLoader(); } catch (SecurityException e) { logger.info("Not allowed to access system class loader."); return null; } if (systemLoader != null) { try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 19:26:59 GMT 2026 - 15.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
.testEquals(); } @AndroidIncompatible // ClassPath is documented as not supporting Android public void testScanAllResources() throws IOException { assertThat(scanResourceNames(ClassLoader.getSystemClassLoader())) .contains("com/google/common/reflect/ClassPathTest.class"); } private static ClassPath.ClassInfo findClass( Iterable<ClassPath.ClassInfo> classes, Class<?> cls) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 25.8K bytes - Click Count (0)