Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getLocalClassLoader (0.17 sec)

  1. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java

                    // Recreate the script scope and ClassLoader, so that things that use scopes are notified that the scope exists
                    scope.onReuse();
                    assert scriptClass.getClassLoader() == scope.getLocalClassLoader();
                }
            }
    
            @Override
            public Class<? extends T> loadClass() {
                if (scriptClass == null) {
                    if (isEmpty && !hasMethods) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginContainerTest.groovy

            then:
            thrown UnsupportedOperationException
        }
    
        def scope(ClassLoader classLoader) {
            return Stub(ClassLoaderScope) {
                getLocalClassLoader() >> classLoader
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginManagerTest.groovy

    import spock.lang.Specification
    
    class DefaultPluginManagerTest extends Specification {
    
        def classLoader = new GroovyClassLoader(getClass().classLoader)
        def classLoaderScope = Stub(ClassLoaderScope) {
            getLocalClassLoader() >> classLoader
        }
        def registry = new DefaultPluginRegistry(new PluginInspector(new ModelRuleSourceDetector()), classLoaderScope)
        def target = Mock(PluginTarget)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 13:46:07 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top