Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for onReuse (0.1 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/KotlinScriptEvaluator.kt

                    }
                    return loadedClass!!
                }
    
            @Synchronized
            override fun onReuse() {
                scope?.let {
                    // Recreate the script scope and ClassLoader, so that things that use scopes are notified that the scope exists
                    it.onReuse()
                    require(loadedClass!!.classLoader == it.localClassLoader)
                }
            }
    
            private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 10:23:24 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java

            public M getData() {
                return metadata;
            }
    
            @Override
            public void onReuse() {
                if (scriptClass != null) {
                    // 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();
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 20.6K bytes
    - Viewed (0)
Back to top