File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ def toolchainPropertyName = 'javaToolchainEnabled';
59
59
60
60
def useToolchain = project. hasProperty(toolchainPropertyName) ? project. getProperty(toolchainPropertyName). toBoolean() : false
61
61
62
- ext. defaultJvmArgs = ' --add-exports=java.desktop/sun.awt.image=ALL-UNNAMED' ;
62
+ ext. defaultJvmArgs = [ ' --add-exports=java.desktop/sun.awt.image=ALL-UNNAMED' , ' --add-opens=java.base/java.nio=ALL-UNNAMED ' ] ;
63
63
64
64
if (useToolchain) {
65
65
def baselineLanguageVersion = JavaLanguageVersion . of(baselineJavaVersion. toString())
Original file line number Diff line number Diff line change 154
154
cd ..
155
155
rm -rf logs
156
156
rm -rf output/allure-results
157
- java --add-exports=java.desktop/sun.awt.image=ALL-UNNAMED -cp $PATH_TO_ARTIFACT /classes:$PATH_TO_ARTIFACT /lib/* ${PROFILE: + -Dprofile=" $PROFILE " } ${ENCODING: + -Dfile.encoding=" $ENCODING " } $MAIN_CLASS
157
+ java --add-exports=java.desktop/sun.awt.image=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED - cp $PATH_TO_ARTIFACT /classes:$PATH_TO_ARTIFACT /lib/* ${PROFILE: + -Dprofile=" $PROFILE " } ${ENCODING: + -Dfile.encoding=" $ENCODING " } $MAIN_CLASS
158
158
fi
You can’t perform that action at this time.
0 commit comments