From 37fbc231dba30fb9abb2466f372b95deef598bf7 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 17 Jan 2023 21:30:35 +0100 Subject: Update test scripts: Use Java17 module jvm args: --add-opens java.desktop/sun.awt=ALL-UNNAMED --add-opens java.desktop/sun.java2d=ALL-UNNAMED --- make/scripts/tests-x64-dbg.bat | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'make/scripts/tests-x64-dbg.bat') diff --git a/make/scripts/tests-x64-dbg.bat b/make/scripts/tests-x64-dbg.bat index 895dcd2ff..4e19bddd8 100755 --- a/make/scripts/tests-x64-dbg.bat +++ b/make/scripts/tests-x64-dbg.bat @@ -5,8 +5,8 @@ REM set TEMP=C:\Documents and Settings\jogamp\temp REM set TMP=C:\Documents and Settings\jogamp\temp set BLD_SUB=build-win64 -set J2RE_HOME=c:\jre-11.0.4+11_x64 -set JAVA_HOME=c:\jdk-11.0.4+11_x64 +set J2RE_HOME=c:\jdk-17 +set JAVA_HOME=c:\jdk-17 set ANT_PATH=C:\apache-ant-1.10.5 set PROJECT_ROOT=D:\projects\jogamp\jogl @@ -98,5 +98,9 @@ REM set X_ARGS="-Dsun.java2d.noddraw=true" "-Dsun.java2d.opengl=true" "-Dsun.awt REM set X_ARGS="-Dsun.java2d.noddraw=true" "-Dsun.java2d.d3d=false" "-Dsun.java2d.ddoffscreen=false" "-Dsun.java2d.gdiblit=false" "-Dsun.java2d.opengl=false" "-Dsun.awt.noerasebackground=true" "-Xms512m" "-Xmx1024m" REM set X_ARGS="-Dsun.java2d.noddraw=true" "-Dsun.java2d.d3d=false" "-Dsun.java2d.ddoffscreen=false" "-Dsun.java2d.gdiblit=false" "-Dsun.java2d.opengl=true" "-Dsun.awt.noerasebackground=true" "-Xms512m" "-Xmx1024m" +REM set MODULE_ARGS=--add-opens java.base/java.lang=ALL-UNNAMED --add-opens java.desktop/sun.awt=ALL-UNNAMED --add-opens java.desktop/sun.java2d=ALL-UNNAMED +set MODULE_ARGS=--add-opens java.desktop/sun.awt=ALL-UNNAMED --add-opens java.desktop/sun.java2d=ALL-UNNAMED +set X_ARGS="-Dsun.java2d.noddraw=true" "-Dsun.awt.noerasebackground=true" %MODULE_ARGS% + scripts\tests-win.bat %* -- cgit v1.2.3