Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for getSystemClassLoader (0.32 sec)

  1. src/main/java/jcifs/smb1/http/Handler.java

                            } catch (Exception ex) { }
                            if (handlerClass == null) {
                                handlerClass = ClassLoader.getSystemClassLoader(
                                        ).loadClass(className);
                            }
                            handler = (URLStreamHandler) handlerClass.newInstance();
                            break;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 6.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/Handler.java

                                log.debug("Failed to load handler class " + className, ex);
                            }
                            if ( handlerClass == null ) {
                                handlerClass = ClassLoader.getSystemClassLoader().loadClass(className);
                            }
                            handler = (URLStreamHandler) handlerClass.newInstance();
                            break;
                        }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/graal/OkHttpFeature.kt

     */
    class OkHttpFeature : Feature {
      @IgnoreJRERequirement
      override fun beforeAnalysis(access: Feature.BeforeAnalysisAccess?) {
        RuntimeResourceAccess.addResource(
          ClassLoader.getSystemClassLoader().getUnnamedModule(),
          "okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz",
        )
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/ds/DataStoreFactory.java

            for (final File jarFile : jarFiles) {
                try (FileSystem fs = FileSystems.newFileSystem(jarFile.toPath(), ClassLoader.getSystemClassLoader())) {
                    final Path xmlPath = fs.getPath("fess_ds++.xml");
                    try (InputStream is = Files.newInputStream(xmlPath)) {
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java

                return targetClassLoader;
            }
            if (thisClassLoader != null) {
                return thisClassLoader;
            }
    
            final ClassLoader systemClassLoader = ClassLoader.getSystemClassLoader();
            if (systemClassLoader != null) {
                return systemClassLoader;
            }
    
            throw new ClIllegalStateException(MessageFormatter.getMessage("ECL0001", "ClassLoader"));
        }
    
        /**
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  7. 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)
  8. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  9. 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)
  10. 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 Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 13.1K bytes
    - Viewed (0)
Back to top