From 9ec709a458f6acfa691c28784e8c9b64caf8388e Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Mon, 4 Oct 2021 14:04:37 +0530 Subject: [PATCH] github: use a catch-all access permit rule --- .github/ci-gradle.properties | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/ci-gradle.properties b/.github/ci-gradle.properties index cd45ab32..d0df7bfc 100644 --- a/.github/ci-gradle.properties +++ b/.github/ci-gradle.properties @@ -1,10 +1,11 @@ org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 \ - --add-opens java.base/java.io=ALL-UNNAMED \ - --add-opens jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \ - --add-opens jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \ - --add-opens jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \ - --add-opens jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED \ - --add-opens jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED \ - --add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED \ - --add-opens jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \ - --add-opens jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED + --illegal-access=permit +# --add-opens java.base/java.io=ALL-UNNAMED \ +# --add-opens jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \ +# --add-opens jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \ +# --add-opens jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \ +# --add-opens jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED \ +# --add-opens jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED \ +# --add-opens jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED \ +# --add-opens jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \ +# --add-opens jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED