Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 66 for classLoaders (0.11 sec)

  1. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmRequest.java

         */
        RealmType getType();
    
        /**
         * Gets the parent class realm (if any).
         *
         * @return The parent class realm or {@code null} if using the default parent.
         */
        ClassLoader getParent();
    
        /**
         * @deprecated Use {@link #getParentImports()} instead.
         * @return imports
         */
        @Deprecated
        List<String> getImports();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. 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",
        )
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/platform/OpenJSSEPlatform.kt

        val isSupported: Boolean =
          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.openjsse.net.ssl.OpenJSSE", false, javaClass.classLoader)
    
            true
          } catch (_: ClassNotFoundException) {
            false
          }
    
        fun buildIfSupported(): OpenJSSEPlatform? = if (isSupported) OpenJSSEPlatform() else null
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmManager.java

         * @return The new plugin realm, never {@code null}.
         */
        ClassRealm createPluginRealm(
                Plugin plugin,
                ClassLoader parent,
                List<String> parentImports,
                Map<String, ClassLoader> foreignImports,
                List<Artifact> artifacts);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/FinalizableReferenceQueue.java

        // This is used by the ClassLoader-leak test in FinalizableReferenceQueueTest to disable
        // finding Finalizer on the system class path even if it is there.
        @VisibleForTesting static boolean disabled;
    
        @Override
        @CheckForNull
        public Class<?> loadFinalizer() {
          if (disabled) {
            return null;
          }
          ClassLoader systemLoader;
          try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Jul 11 20:51:36 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

      @AndroidIncompatible // "Parent ClassLoader may not be null"; maybe avoidable if we try?
      public void testGetChecked_classUnloading() throws Exception {
        WeakReference<?> classUsedByGetChecked = doTestClassUnloading();
        GcFinalization.awaitClear(classUsedByGetChecked);
      }
    
      /**
       * Loads {@link WillBeUnloadedException} in a separate {@code ClassLoader}, calls {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  7. 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;
                        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/ResourcesTest.java

        // Now set the context loader to one that should find the resource.
        URL baseUrl = tempFile.getParentFile().toURI().toURL();
        URLClassLoader loader = new URLClassLoader(new URL[] {baseUrl});
        ClassLoader oldContextLoader = Thread.currentThread().getContextClassLoader();
        try {
          Thread.currentThread().setContextClassLoader(loader);
          URL url = Resources.getResource(tempFile.getName());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/concurrent/CommonPoolUtil.java

            // nothing
        }
    
        public static void execute(final Runnable task) {
            ForkJoinPool.commonPool().execute(() -> {
                final Thread currentThread = Thread.currentThread();
                final ClassLoader orignal = currentThread.getContextClassLoader();
                currentThread.setContextClassLoader(CommonPoolUtil.class.getClassLoader());
                try {
                    task.run();
                } catch (final Exception e) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/ResourcesTest.java

        // Now set the context loader to one that should find the resource.
        URL baseUrl = tempFile.getParentFile().toURI().toURL();
        URLClassLoader loader = new URLClassLoader(new URL[] {baseUrl});
        ClassLoader oldContextLoader = Thread.currentThread().getContextClassLoader();
        try {
          Thread.currentThread().setContextClassLoader(loader);
          URL url = Resources.getResource(tempFile.getName());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top