Skip to content

Commit 1ec8b58

Browse files
committed
native access for wrappers
1 parent c8331bd commit 1ec8b58

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Wurstpack/wurstscript/grill

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ if [[ ! -x "$RUNTIME" ]]; then
2323
exit 3
2424
fi
2525

26-
exec "$RUNTIME" -Dfile.encoding=UTF-8 -jar "$JAR" "$@"
26+
exec "$RUNTIME" -Dfile.encoding=UTF-8 --enable-native-access=ALL-UNNAMED -jar "$JAR" "$@"

Wurstpack/wurstscript/grill.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if not exist "%JAVA%" (
3131
goto :restore
3232
)
3333

34-
"%JAVA%" -Dfile.encoding=UTF-8 -jar "%GRILL_JAR%" %*
34+
"%JAVA%" -Dfile.encoding=UTF-8 --enable-native-access=ALL-UNNAMED -jar "%GRILL_JAR%" %*
3535

3636
:restore
3737
rem Restore previous code page if we captured it

0 commit comments

Comments
 (0)