Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 78 for classloaders (0.08 seconds)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslRuntimeGeneratedSources.java

    import org.gradle.api.tasks.Classpath;
    import org.gradle.api.tasks.OutputDirectory;
    import org.gradle.api.tasks.TaskAction;
    import org.gradle.initialization.ClassLoaderScopeRegistry;
    import org.gradle.internal.classloader.ClasspathUtil;
    import org.gradle.kotlin.dsl.provider.KotlinScriptClassPathProvider;
    
    import javax.inject.Inject;
    import java.io.File;
    
    import static com.google.common.collect.Iterables.getOnlyElement;
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sun Mar 19 17:15:23 GMT 2023
    - 3.9K bytes
    - Click Count (0)
  2. 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());
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  3. 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 {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 04 07:24:54 GMT 2024
    - 4.7K bytes
    - Click Count (0)
  4. 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());
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  5. 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
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jan 22 11:03:29 GMT 2025
    - 12.3K bytes
    - Click Count (0)
  6. 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.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  7. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

            if (null == name) {
                return defaultClazz; // just use the default type
            }
    
            // TCCL allows surrounding container to influence class loading policy
            final ClassLoader tccl = Thread.currentThread().getContextClassLoader();
            if (tccl != null) {
                try {
                    return tccl.loadClass(name);
                } catch (final Exception e) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 15.3K bytes
    - Click Count (0)
  8. 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 {
    
        /**
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Sat Dec 21 08:58:33 GMT 2024
    - 4.7K bytes
    - Click Count (1)
  9. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/ApiExtensionGeneratorFacade.kt

    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Mar 12 15:56:18 GMT 2025
    - 17.8K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterException.java

                boolean isMap = false;
                boolean isProperties = false;
                if (!isArray) {
                    try {
                        // assuming Type is available in current ClassLoader
                        isCollection = Collection.class.isAssignableFrom(Class.forName(param.getType()));
                        isMap = Map.class.isAssignableFrom(Class.forName(param.getType()));
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 6.8K bytes
    - Click Count (0)
Back to Top