- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for exitClassLoadingScope (0.21 sec)
-
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/classloader/TransformErrorHandlerTest.groovy
def "does nothing if there is no exception in the scope"() { given: TransformErrorHandler handler = handler() when: handler.enterClassLoadingScope("some/Class") handler.exitClassLoadingScope() then: noExceptionThrown() } def "rethrows the #expectedExceptionClass.simpleName if the scope exits with #exception.class.simpleName"() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 3.8K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/TransformErrorHandler.java
* Class<?> result; * try { * result = super.findClass(name); * } catch (Throwable th) { * throw handler.exitClassLoadingScopeWithException(th); * } * handler.exitClassLoadingScope(); * return result; * } * * public void transformFailed(String className, Throwable th) { * handler.classLoadingError(className, th); * } * </code> * </pre> * <p>
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 5.2K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/VisitableURLClassLoader.java
loadedClass = super.findClass(name); } catch (Throwable e) { throw errorHandler.exitClassLoadingScopeWithException(e); } errorHandler.exitClassLoadingScope(); return loadedClass; } @Override public void close() throws IOException { IoActions.closeQuietly(replacer); super.close(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 6.5K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/groovy/scripts/internal/DefaultScriptCompilationHandler.java
loadedClass = super.findClass(name); } catch (Throwable e) { throw errorHandler.exitClassLoadingScopeWithException(e); } errorHandler.exitClassLoadingScope(); return loadedClass; } @Override public void close() throws IOException { IoActions.closeQuietly(replacer); } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Jun 11 09:51:15 UTC 2024 - 20.6K bytes - Viewed (0)