Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for childScopeCreated (0.23 sec)

  1. subprojects/core/src/main/java/org/gradle/api/internal/initialization/ImmutableClassLoaderScope.java

        ) {
            super(id, origin, classLoaderCache, listener);
            this.parent = parent;
            this.classPath = classPath;
            this.classpathImplementationHash = classpathImplementationHash;
            listener.childScopeCreated(parent.getId(), id, origin);
            ClassLoaderId classLoaderId = id.localId();
            if (localClassLoaderFactory != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/initialization/ClassLoaderScopeRegistryListener.java

     *
     * @see ClassLoaderScopeRegistry
     * @see ClassLoaderScope
     */
    @EventScope(Scope.UserHome.class)
    public interface ClassLoaderScopeRegistryListener {
    
        void childScopeCreated(ClassLoaderScopeId parentId, ClassLoaderScopeId childId, @Nullable ClassLoaderScopeOrigin origin);
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/api/internal/initialization/DefaultClassLoaderScope.java

            super(id, origin, classLoaderCache, listener);
            this.parent = parent;
            listener.childScopeCreated(parent.getId(), id, origin);
        }
    
        private ClassLoader loader(ClassLoaderId id, ClassLoader parent, ClassPath classPath, @Nullable List<ClassLoader> additionalLoaders) {
            if (additionalLoaders == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 12 20:19:43 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. subprojects/core/src/test/groovy/org/gradle/internal/problems/DefaultProblemLocationAnalyzerTest.groovy

            }
            def longDisplayName = Describables.of("<long source>")
            def shortDisplayName = Describables.of("<short source>")
    
            given:
            analyzer.childScopeCreated(Stub(ClassLoaderScopeId), Stub(ClassLoaderScopeId), new ClassLoaderScopeOrigin.Script("filename", longDisplayName, shortDisplayName))
    
            when:
            def location = analyzer.locationForUsage(failure, false)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:15:42 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/ConfigurationCacheClassLoaderScopeRegistryListener.kt

        override fun scopeFor(classLoader: ClassLoader?): Pair<ClassLoaderScopeSpec, ClassLoaderRole>? {
            synchronized(lock) {
                return loaders[classLoader]
            }
        }
    
        override fun childScopeCreated(parentId: ClassLoaderScopeId, childId: ClassLoaderScopeId, origin: ClassLoaderScopeOrigin?) {
            synchronized(lock) {
                if (scopeSpecs.containsKey(childId)) {
                    // scope is being reused
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/internal/problems/DefaultProblemLocationAnalyzer.java

            listenerManager.remove(this);
            lock.lock();
            try {
                scripts.clear();
            } finally {
                lock.unlock();
            }
        }
    
        @Override
        public void childScopeCreated(ClassLoaderScopeId parentId, ClassLoaderScopeId childId, @javax.annotation.Nullable ClassLoaderScopeOrigin origin) {
            if (origin instanceof ClassLoaderScopeOrigin.Script) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 17:15:42 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top