Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 70 for ClassLoader (0.09 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/plugin/internal/DefaultPluginManager.java

                pluginManager.setupPluginRealm(pluginDescriptor, session, null, null, null);
            } catch (Exception e) {
                throw new PluginManagerException(plugin, e.getMessage(), e);
            }
    
            ClassLoader oldClassLoader = Thread.currentThread().getContextClassLoader();
            try {
                Thread.currentThread().setContextClassLoader(pluginDescriptor.getClassRealm());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java

            Collection<T> foundComponents = new LinkedHashSet<>();
            Collection<ClassLoader> scannedRealms = new HashSet<>();
    
            Thread currentThread = Thread.currentThread();
            ClassLoader originalContextClassLoader = currentThread.getContextClassLoader();
            try {
                for (MavenProject project : projects) {
                    ClassLoader projectRealm = project.getClassRealm();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 27.5K bytes
    - Viewed (1)
  3. impl/maven-core/plugin-manager.txt

     * that is more mercury related and not Maven related i.e. no POMs - workspace resolver - we need
     * tools to pre-populate this repository
     *
     * h3. create an isolated classloader
     *
     * h3. lookup the plugin with a configuration
     *
     * h3. execute the plugin
     *
     * h3. plugins may have to deal with particular actions when a plugin is - installed - loaded -
     * unloaded - update - uninstalled
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/Docbook2Xhtml.groovy

    import org.gradle.api.tasks.PathSensitive
    import org.gradle.api.tasks.PathSensitivity
    import org.gradle.api.tasks.SourceTask
    import org.gradle.api.tasks.TaskAction
    import org.gradle.internal.classloader.ClasspathUtil
    import org.gradle.internal.work.WorkerLeaseService
    import org.gradle.process.ExecOperations
    
    import javax.inject.Inject
    
    @CacheableTask
    abstract class Docbook2Xhtml extends SourceTask {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/BouncyCastlePlatform.kt

          try {
            // Trigger an early exception over a fatal error, prefer a RuntimeException over Error.
            Class.forName("org.bouncycastle.jsse.provider.BouncyCastleJsseProvider", false, javaClass.classLoader)
    
            true
          } catch (_: ClassNotFoundException) {
            false
          }
    
        fun buildIfSupported(): BouncyCastlePlatform? = if (isSupported) BouncyCastlePlatform() else null
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/io/Resources.java

      // TODO(cgdecker): maybe add a better way to check if a resource exists
      // e.g. Optional<URL> tryGetResource or boolean resourceExists
      public static URL getResource(String resourceName) {
        ClassLoader loader =
            MoreObjects.firstNonNull(
                Thread.currentThread().getContextClassLoader(), Resources.class.getClassLoader());
        URL url = loader.getResource(resourceName);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/extension/internal/CoreExtensionEntry.java

            this.packages = Collections.unmodifiableSet(new HashSet<>(packages));
            this.key = key;
            this.configuration = configuration;
        }
    
        /**
         * Returns ClassLoader used to load extension classes.
         */
        public ClassRealm getClassRealm() {
            return realm;
        }
    
        /**
         * Returns artifacts exported by the extension, identified by groupId:artifactId string key.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/local/DefaultLocalMavenInvokerTest.java

        @Override
        protected Invoker<MavenInvokerRequest<MavenOptions>> createInvoker() {
            return new DefaultLocalMavenInvoker(ProtoLookup.builder()
                    .addMapping(ClassWorld.class, new ClassWorld("plexus.core", ClassLoader.getSystemClassLoader()))
                    .build());
        }
    
        @Override
        protected Parser<MavenInvokerRequest<MavenOptions>> createParser() {
            return new DefaultMavenParser();
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/EnrichedReportRenderer.groovy

            super.render(htmlReportFile, enrichReport(data))
        }
    
        /**
         * This is super-hacky: this report is instantiated via {@code newInstance()}, within a different
         * classloader by {@link JApiCmpWorkerAction}, so there is no way to use a
         * normal property on the renderer instance and just set the location of the API file in it.
         *
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Feb 07 20:38:43 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

    }
    
    /**
     * The build environment.
     *
     * WARNING: Every val in here must not change for they same daemon. If it does, changes will go undetected,
     *          since this whole object is kept in the classloader between builds.
     *          Anything that changes must be in a val with a get() method that recomputes the value each time.
     */
    object BuildEnvironment {
    
        /**
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
Back to top