- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for childScopeCreated (0.15 sec)
-
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) -
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) -
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)