Expected Behavior
When the multi-release JAR of the buildscript classpath contains a versioned directory for Java version that the current Gradle doesn't support, Gradle should be able to instrument the root directory and supported versioned directories without failures.
Current Behavior (optional)
The instrumentation fails when it tries to instrument the classes in the unsupported versioned directory.
Context
This issue makes it impossible to use newer libraries as part of the buildscript classpath, even if the library itself is backwards-compatible. It defeats the purpose of the MR-JAR.
See also #24390 and #24430.
Expected Behavior
When the multi-release JAR of the buildscript classpath contains a versioned directory for Java version that the current Gradle doesn't support, Gradle should be able to instrument the root directory and supported versioned directories without failures.
Current Behavior (optional)
The instrumentation fails when it tries to instrument the classes in the unsupported versioned directory.
Context
This issue makes it impossible to use newer libraries as part of the buildscript classpath, even if the library itself is backwards-compatible. It defeats the purpose of the MR-JAR.
See also #24390 and #24430.