Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for getSystemClassLoader (0.24 sec)

  1. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jan 05 17:43:40 GMT 2022
    - 24.9K bytes
    - Viewed (1)
  2. 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 for
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  3. 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 for
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  4. 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");
      }
    
    
      public void testExistsThrowsSecurityException() throws IOException, URISyntaxException {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  5. 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");
      }
    
    
      public void testExistsThrowsSecurityException() throws IOException, URISyntaxException {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Jul 10 17:06:37 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/FinalizableReferenceQueue.java

        @Override
        @CheckForNull
        public Class<?> loadFinalizer() {
          if (disabled) {
            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 {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/FinalizableReferenceQueue.java

        @Override
        @CheckForNull
        public Class<?> loadFinalizer() {
          if (disabled) {
            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 {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
Back to top