Skip to content

Commit

Permalink
Revert "[google/compile-testing#222] add JVM arg to allow access to c…
Browse files Browse the repository at this point in the history
…ompiler internal APIs on Java 16"

This reverts commit 008a719.
  • Loading branch information
MarkoMackic committed Oct 17, 2021
1 parent 2644bb9 commit 2e4989e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions picocli-annotation-processing-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,6 @@ dependencies {
testImplementation files(org.gradle.internal.jvm.Jvm.current().getToolsJar()) // needed on Java 8: https://github.com/google/compile-testing/issues/102 (and #28)
}
}
tasks.withType(Test.class) {
if (org.gradle.api.JavaVersion.current().isJava12Compatible()) { // only a problem from Java 16, but okay
it.jvmArgs '--add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED' // https://github.com/google/compile-testing/issues/222
}
}

jar {
manifest {
attributes 'Specification-Title': 'Picocli Annotation Processing Tests',
Expand Down

0 comments on commit 2e4989e

Please sign in to comment.