Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 95 for classloaders (0.09 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/PlexusContainerCapsuleFactory.java

                @Override
                protected void configure() {
                    bind(ILoggerFactory.class).toProvider(() -> context.loggerFactory);
                }
            });
    
            ClassLoader oldCL = Thread.currentThread().getContextClassLoader();
            Runnable settingsCleaner = null;
            try {
                container.setLookupRealm(null);
                container.setLoggerManager(createLoggerManager());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/BuildListCalculator.java

                    projects = Collections.singletonList(rootProject);
                } else {
                    projects = session.getProjects();
                }
                for (MavenProject project : projects) {
                    ClassLoader tccl = Thread.currentThread().getContextClassLoader();
                    MavenProject currentProject = session.getCurrentProject();
                    try {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/TempFileCreator.java

       * if previous calls have initialized the {@code PermissionSupplier} fields.
       *
       * <p>This lets us test the effects of different values of the {@code user.name} system property
       * without needing a separate VM or classloader.
       */
      @IgnoreJRERequirement // used only when Path is available (and only from tests)
      @VisibleForTesting
      static void testMakingUserPermissionsFromScratch() throws IOException {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 29 18:50:14 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPackagingRegistry.java

            // however, SISU visibility filtering can only happen when an explicit
            // lookup is performed. The whole problem here is caused by "project extensions"
            // which are bound to a project's classloader, without any clear definition
            // of a "project scope"
            LifecycleMapping lifecycleMapping =
                    lookup.lookupOptional(LifecycleMapping.class, id).orElse(null);
            if (lifecycleMapping == null) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        private final Packaging packaging;
    
        public DefaultProject(InternalMavenSession session, MavenProject project) {
            this.session = session;
            this.project = project;
            ClassLoader ttcl = Thread.currentThread().getContextClassLoader();
            try {
                Thread.currentThread().setContextClassLoader(project.getClassRealm());
                this.packaging = session.requirePackaging(project.getPackaging());
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  6. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java

                            "Using the %s implementation with a thread count of %d",
                            executor.getClass().getSimpleName(), degreeOfConcurrency));
                }
    
                ClassLoader oldContextClassLoader = Thread.currentThread().getContextClassLoader();
                ReactorBuildStatus reactorBuildStatus = new ReactorBuildStatus(session.getProjectDependencyGraph());
                ReactorContext reactorContext =
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  7. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

                    }
                }
            }
            return logs;
        }
    
        protected ClassWorld createClassWorld() {
            return new ClassWorld("plexus.core", ClassLoader.getSystemClassLoader());
        }
    
        protected abstract Invoker createInvoker(ClassWorld classWorld);
    
        protected abstract Parser createParser();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Oct 21 12:17:55 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedCompositeBeanHelper.java

        private static final ConcurrentMap<Class<?>, Map<String, Field>> FIELD_CACHE = new ConcurrentHashMap<>();
    
        private final ConverterLookup lookup;
        private final ClassLoader loader;
        private final ExpressionEvaluator evaluator;
        private final ConfigurationListener listener;
    
        /**
         * Holds information about a method including its parameter type.
         */
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Nov 12 14:59:46 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleDependencyResolver.java

                MavenSession session,
                boolean aggregating,
                Set<Artifact> projectArtifacts)
                throws LifecycleExecutionException {
            ClassLoader tccl = Thread.currentThread().getContextClassLoader();
            try {
                ClassLoader projectRealm = project.getClassRealm();
                if (projectRealm != null && projectRealm != tccl) {
                    Thread.currentThread().setContextClassLoader(projectRealm);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  10. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.conscrypt.Conscrypt\$Version", false, ConscryptPlatform::class.java.classLoader)
    
            when {
              // Bump this version if we ever have a binary incompatibility
              Conscrypt.isAvailable() && atLeastVersion(2, 1, 0) -> true
    
              else -> false
            }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 4.6K bytes
    - Click Count (0)
Back to Top