Skip to content

Commit

Permalink
Merge pull request #1324 from urena-kenny/BACKLOG-35632
Browse files Browse the repository at this point in the history
[BACKLOG-35632] Added options that remove illegal reflective access w…
  • Loading branch information
peterrinehart committed Apr 4, 2022
2 parents 273df3f + f97b9d9 commit 9faae31
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion assemblies/psw-ce/src/main/resources-filtered/workbench.bat
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,13 @@ popd
:VERSIONCHECKDONE

SET JAVA_LOCALE_COMPAT=
SET JAVA_ADD_OPENS=
IF NOT %ISJAVA11% == 1 GOTO :SKIPLOCALE
set JAVA_LOCALE_COMPAT=-Djava.locale.providers=COMPAT,SPI
set JAVA_ADD_OPENS=--add-opens java.base/java.net=ALL-UNNAMED --add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.base/sun.net.www.protocol.jar=ALL-UNNAMED
:SKIPLOCALE

echo %JAVA_LOCALE_COMPAT%
"%_PENTAHO_JAVA%" -Xms1024m -Xmx2048m %JAVA_LOCALE_COMPAT% -cp "%CP%" -Dlog4j.configurationFile=file:///%ROOT%\.schemaWorkbench\log4j2.xml mondrian.gui.Workbench
"%_PENTAHO_JAVA%" -Xms1024m -Xmx2048m %JAVA_ADD_OPENS% %JAVA_LOCALE_COMPAT% -cp "%CP%" -Dlog4j.configurationFile=file:///%ROOT%\.schemaWorkbench\log4j2.xml mondrian.gui.Workbench

rem End workbench.bat

0 comments on commit 9faae31

Please sign in to comment.