Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getClassPathEntries (0.14 sec)

  1. 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)
  2. 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)
  3. 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)
Back to top