Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 585 for classloaders (0.16 sec)

  1. platforms/core-configuration/kotlin-dsl-tooling-builders/src/main/kotlin/org/gradle/kotlin/dsl/tooling/builders/internal/IsolatedProjectsSafeKotlinDslScriptsModelBuilder.kt

        localSourcePath: ClassPath
    ): IntermediateScriptModel? {
    
        val buildScript = project.discoverBuildScript()
            ?: return null
    
        // TODO:isolated this relies on the hierarchy of classloaders
        val compilationClassPath = project.scriptCompilationClassPath
    
        val accessorsClassPath = project.serviceOf<ClassPathModeExceptionCollector>().runCatching {
            project.accessorsClassPathOf(compilationClassPath)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 11:06:08 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/process/internal/DefaultExecActionFactory.java

            // NOTE: We do not want/need a decorated version of JavaForkOptions or JavaDebugOptions because
            // these immutable instances are held across builds and will retain classloaders/services in the decorated object
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 10 06:16:11 UTC 2023
    - 24K bytes
    - Viewed (0)
  3. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerExecutorIntegrationTest.groovy

                action += """
                    URL[] urls = parameters.files.collect { new File(getParameters().getOutputDir(), it).toURI().toURL() }
                    ClassLoader classloader = new URLClassLoader(urls)
                    Thread.currentThread().setContextClassLoader(classloader)
                """
            }
            workerThatChangesContextClassLoader.writeToBuildFile()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 13:00:39 UTC 2024
    - 31K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy

                The problem there is that Gradle then tries to load the native library in two different classloaders in the same JDK, which isn't allowed.
                We could try to fix this problems, though this is only a problem for testing.
            """
        )
        @TargetGradleVersion(">=3.0")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/docs/userguide/authoring-builds/other/test_kit.adoc

    [NOTE]
    ====
    GradleRunner supports the same range of Gradle versions as the Tooling API.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 05:36:09 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/reflect/ClassPath.java

        }
        return builder.build();
      }
    
      @VisibleForTesting
      static ImmutableMap<File, ClassLoader> getClassPathEntries(ClassLoader classloader) {
        LinkedHashMap<File, ClassLoader> entries = Maps.newLinkedHashMap();
        // Search parent first, since it's the order ClassLoader#loadClass() uses.
        ClassLoader parent = classloader.getParent();
        if (parent != null) {
          entries.putAll(getClassPathEntries(parent));
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/ClassPath.java

        }
        return builder.build();
      }
    
      @VisibleForTesting
      static ImmutableMap<File, ClassLoader> getClassPathEntries(ClassLoader classloader) {
        LinkedHashMap<File, ClassLoader> entries = Maps.newLinkedHashMap();
        // Search parent first, since it's the order ClassLoader#loadClass() uses.
        ClassLoader parent = classloader.getParent();
        if (parent != null) {
          entries.putAll(getClassPathEntries(parent));
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 24.9K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/api/internal/initialization/ClassLoaderIds.java

    import org.gradle.api.internal.initialization.loadercache.ClassLoaderId;
    
    import java.util.Arrays;
    
    /**
     * Provides implementations of classloader ids
     */
    public class ClassLoaderIds {
    
        public enum Type {
            SCRIPT,
            TEST_TASK_CLASSPATH
        }
    
        private static ClassLoaderId of(Type type, String... attributes) {
            return new DefaultClassLoaderId(type, attributes);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Sep 26 09:30:27 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/initialization/loadercache/ClassLoaderId.java

     */
    
    package org.gradle.api.internal.initialization.loadercache;
    
    import org.gradle.api.Describable;
    
    /**
     * Opaque identifier of the classloader. Needed for correct behavior of classloader invalidation.
     */
    public interface ClassLoaderId extends Describable {
        @Override
        boolean equals(Object o);
        @Override
        int hashCode();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 953 bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultClassLoaderScope.java

            }
            ClassLoader classLoader = classLoaderCache.get(classLoaderId, classPath, parent, null);
            listener.classloaderCreated(this.id, classLoaderId, classLoader, classPath, null);
            if (ownLoaders == null) {
                ownLoaders = new ArrayList<>();
            }
            ownLoaders.add(classLoader);
            return classLoader;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 8.9K bytes
    - Viewed (0)
Back to top