Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 81cb8fc

Browse files
committed
Stop setting unnecessary JVM arguments
1 parent 90ad8f0 commit 81cb8fc

File tree

2 files changed

+0
-36
lines changed

2 files changed

+0
-36
lines changed

‎.github/workflows/ci.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,6 @@ jobs:
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

@@ -68,16 +58,6 @@ jobs:
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

‎build.gradle

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /