File tree Expand file tree Collapse file tree 2 files changed +0
-36
lines changed Expand file tree Collapse file tree 2 files changed +0
-36
lines changed Original file line number Diff line number Diff line change 3535 cache : ' gradle'
3636 - name : print Java version
3737 run : java -version
38- - name : Set JVM options for JDK 16
39- if : ${{ matrix.java == 16 }}
40- run : echo org.gradle.jvmargs="--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
41- --add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
42- --add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \
43- --add-opens=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED \
44- --add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED \
45- --add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED \
46- --add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
47- --add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED" >> gradle.properties
4838 - name : Run build
4939 run : ./gradlew clean assemble --info
5040
6858 cache : ' gradle'
6959 - name : print Java version
7060 run : java -version
71- - name : Set JVM options for JDK 16
72- if : ${{ matrix.java == 16 }}
73- run : echo org.gradle.jvmargs="--add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED \
74- --add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED \
75- --add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED \
76- --add-opens=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED \
77- --add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED \
78- --add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED \
79- --add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED \
80- --add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED" >> gradle.properties
8161 - name : Run test
8262 run : ./gradlew check --info
8363
Original file line number Diff line number Diff line change @@ -156,20 +156,4 @@ subprojects {
156156 }
157157
158158 sourceCompatibility = 1.8
159-
160- if (JavaVersion . current() >= JavaVersion . VERSION_16 ) {
161- test {
162- jvmArgs = [
163- " --illegal-access=permit" ,
164- " --add-opens=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED" ,
165- " --add-opens=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED" ,
166- " --add-opens=jdk.compiler/com.sun.tools.javac.main=ALL-UNNAMED" ,
167- " --add-opens=jdk.compiler/com.sun.tools.javac.jvm=ALL-UNNAMED" ,
168- " --add-opens=jdk.compiler/com.sun.tools.javac.processing=ALL-UNNAMED" ,
169- " --add-opens=jdk.compiler/com.sun.tools.javac.comp=ALL-UNNAMED" ,
170- " --add-opens=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED" ,
171- " --add-opens=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED"
172- ]
173- }
174- }
175159}
You can’t perform that action at this time.
0 commit comments