- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for getClassPathEntries (0.14 sec)
-
android/guava-tests/test/com/google/common/reflect/ClassPathTest.java
URLClassLoader child = new URLClassLoader(new URL[] {url}, parent) {}; assertThat(ClassPath.getClassPathEntries(child)).containsExactly(new File("/a"), parent); } @AndroidIncompatible // Android forbids null parent ClassLoader public void testClassPathEntries_notURLClassLoader_noParent() { assertThat(ClassPath.getClassPathEntries(new ClassLoader(null) {})).isEmpty(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 25K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ClassPathTest.java
URLClassLoader child = new URLClassLoader(new URL[] {url}, parent) {}; assertThat(ClassPath.getClassPathEntries(child)).containsExactly(new File("/a"), parent); } @AndroidIncompatible // Android forbids null parent ClassLoader public void testClassPathEntries_notURLClassLoader_noParent() { assertThat(ClassPath.getClassPathEntries(new ClassLoader(null) {})).isEmpty(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 22:09:38 UTC 2024 - 27.6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/ClassPath.java
@VisibleForTesting static ImmutableMap<File, ClassLoader> getClassPathEntries(ClassLoader classloader) { LinkedHashMap<File, ClassLoader> entries = Maps.newLinkedHashMap(); // Search parent first, since it's the order ClassLoader#loadClass() uses. ClassLoader parent = classloader.getParent(); if (parent != null) { entries.putAll(getClassPathEntries(parent)); } for (URL url : getClassLoaderUrls(classloader)) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jan 05 17:43:40 UTC 2022 - 24.9K bytes - Viewed (0)