Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 212 of 212 for newReader (0.04 sec)

  1. guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

      }
    
      public void testDecoupledLoader() {
        FinalizableReferenceQueue.DecoupledLoader decoupledLoader =
            new FinalizableReferenceQueue.DecoupledLoader() {
              @Override
              URLClassLoader newLoader(URL base) {
                return new DecoupledClassLoader(new URL[] {base});
              }
            };
    
        Class<?> finalizerCopy = decoupledLoader.loadFinalizer();
    
        assertNotNull(finalizerCopy);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/FinalizableReferenceQueue.java

           * Finalizer.class -> CustomClassLoader -> CustomClassLoader.class -> This class loader
           *
           * System class loader will (and must) be the parent.
           */
          try (URLClassLoader finalizerLoader = newLoader(getBaseUrl())) {
            return finalizerLoader.loadClass(FINALIZER_CLASS_NAME);
          } catch (Exception e) {
            logger.log(Level.WARNING, LOADING_ERROR, e);
            return null;
          }
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 11 20:51:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top