Skip to content

Commit

Permalink
Open sun.nio.fs.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmnbroad committed Jul 7, 2022
1 parent 7a95da7 commit 7285665
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ dependencies {

run {
jvmArgs = ['--add-exports', 'java.base/sun.nio.ch=ALL-UNNAMED',
'--add-opens', 'java.base/sun.nio.fs=ALL-UNNAMED',
'--add-opens', 'java.base/java.nio=ALL-UNNAMED',
'--add-opens', 'java.base/java.io=ALL-UNNAMED',
'--add-opens', 'java.base/java.lang.invoke=ALL-UNNAMED'
Expand All @@ -390,6 +391,7 @@ run {

test {
jvmArgs = ['--add-exports', 'java.base/sun.nio.ch=ALL-UNNAMED',
'--add-opens', 'java.base/sun.nio.fs=ALL-UNNAMED',
'--add-opens', 'java.base/java.nio=ALL-UNNAMED',
'--add-opens', 'java.base/java.io=ALL-UNNAMED',
'--add-opens', 'java.base/java.lang.invoke=ALL-UNNAMED'
Expand Down

0 comments on commit 7285665

Please sign in to comment.