Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for classloaders (0.07 sec)

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

                    classRealm.importFromParent(imp);
                }
            }
        }
    
        private static Object getId(ClassLoader classLoader) {
            if (classLoader instanceof ClassRealm classRealm) {
                return classRealm.getId();
            }
            return classLoader;
        }
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java

       * Runs the corresponding {@link FuturesTest} test method in a new classloader that disallows
       * certain core JDK classes.
       */
      private void runTestMethod(ClassLoader classLoader) throws Exception {
        ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader();
        Thread.currentThread().setContextClassLoader(classLoader);
        try {
          Class<?> test = classLoader.loadClass(FuturesTest.class.getName());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AbstractFutureFallbackAtomicHelperTest.java

       * disallows certain core JDK classes.
       */
      private void runTestMethod(ClassLoader classLoader) throws Exception {
        ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader();
    
        Thread.currentThread().setContextClassLoader(classLoader);
        try {
          Class<?> test = classLoader.loadClass(AbstractFutureTest.class.getName());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. .teamcity/subprojects.json

        "path": "platforms/core-runtime/build-state",
        "unitTests": true,
        "functionalTests": false,
        "crossVersionTests": false
      },
      {
        "name": "classloaders",
        "path": "platforms/core-runtime/classloaders",
        "unitTests": false,
        "functionalTests": false,
        "crossVersionTests": false
      },
      {
        "name": "cli",
        "path": "platforms/core-runtime/cli",
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 18 18:40:11 UTC 2025
    - 37.5K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ReflectionValueExtractor.java

        /**
         * Use a WeakHashMap here, so the keys (Class objects) can be garbage collected.
         * This approach prevents permgen space overflows due to retention of discarded
         * classloaders.
         */
        private static final Map<Class<?>, WeakReference<ClassMap>> CLASS_MAPS = new WeakHashMap<>();
    
        static final int EOF = -1;
    
        static final char PROPERTY_START = '.';
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueTest.java

    /**
     * Unit test for {@link FinalizableReferenceQueue}.
     *
     * @author Bob Lee
     */
    // - depends on details of GC and classloading
    // - .class files aren't available
    // - possibly no real concept of separate ClassLoaders?
    @AndroidIncompatible
    @GwtIncompatible
    @RunWith(JUnit4.class)
    @NullUnmarked
    public class FinalizableReferenceQueueTest {
    
      private @Nullable FinalizableReferenceQueue frq;
    
      @After
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  7. .idea/gradle.xml

                <option value="$PROJECT_DIR$/platforms/core-runtime/build-profile" />
                <option value="$PROJECT_DIR$/platforms/core-runtime/build-state" />
                <option value="$PROJECT_DIR$/platforms/core-runtime/classloaders" />
                <option value="$PROJECT_DIR$/platforms/core-runtime/cli" />
                <option value="$PROJECT_DIR$/platforms/core-runtime/client-services" />
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 11 18:02:10 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

      @Test
      public void testUnloadable() throws Exception {
        WeakReference<ClassLoader> loaderRef = useFrqInSeparateLoader();
        GcFinalization.awaitClear(loaderRef);
      }
    
      private URL[] getClassPathUrls() {
        ClassLoader classLoader = getClass().getClassLoader();
        return classLoader instanceof URLClassLoader
            ? ((URLClassLoader) classLoader).getURLs()
            : parseJavaClassPath().toArray(new URL[0]);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/reflect/ClassPathTest.java

        URL url2 = new URL("file:/b");
        URLClassLoader classloader = new URLClassLoader(new URL[] {url1, url2}, null);
        assertThat(ClassPath.getClassPathEntries(classloader))
            .containsExactly(new File("/a"), classloader, new File("/b"), classloader);
      }
    
      @AndroidIncompatible // Android forbids null parent ClassLoader
      public void testClassPathEntries_urlClassLoader_withParent() throws Exception {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 21:00:51 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java

            assertArgumentNotNull("classLoader", classLoader);
            this.classLoader = classLoader;
        }
    
        @Override
        public boolean hasNext() {
            return classLoader != null;
        }
    
        @Override
        public ClassLoader next() {
            if (!hasNext()) {
                throw new NoSuchElementException();
            }
            final ClassLoader result = classLoader;
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top