Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for URLClassLoader (0.12 sec)

  1. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

      public void testClassPathEntries_urlClassLoader_withParent() throws Exception {
        URL url1 = new URL("file:/a");
        URL url2 = new URL("file:/b");
        URLClassLoader parent = new URLClassLoader(new URL[] {url1}, null);
        URLClassLoader child = new URLClassLoader(new URL[] {url2}, parent) {};
        assertThat(ClassPath.getClassPathEntries(child))
            .containsExactly(new File("/a"), parent, new File("/b"), child)
            .inOrder();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 23K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

       * getChecked} holds no strong references to the class.
       */
      private WeakReference<?> doTestClassUnloading() throws Exception {
        URLClassLoader shadowLoader = new URLClassLoader(parseJavaClassPath(), null);
        @SuppressWarnings("unchecked")
        Class<WillBeUnloadedException> shadowClass =
            (Class<WillBeUnloadedException>)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top