From 2e46eb1bf06ef07801062122716aa99a6c871646 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 29 Sep 2023 03:22:28 +0200 Subject: Bug 1430 - Fix Background erase not disabled with AWT GLCanvas and NewtCanvasAWT Commit c5431f46b7bf64f109315ec78461859dd88f202a reduced the disableBackgroundErase(..) to SunToolkit's variation which doesn't work on Windows as it does not act upon the java.awt.Canvas peer post addNotify(). This re-introduces the java.awt.Canvas method via class JAWTUtil.BackgroundEraseControl and its called only after addNotify() on Windows and ASAP for everyone else. Method also calles the SunTookit variation just to be sure. --- make/scripts/run-test-until-crash.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make/scripts/run-test-until-crash.sh') diff --git a/make/scripts/run-test-until-crash.sh b/make/scripts/run-test-until-crash.sh index 5b11a77e2..80f3e0609 100755 --- a/make/scripts/run-test-until-crash.sh +++ b/make/scripts/run-test-until-crash.sh @@ -29,7 +29,7 @@ do_test() { -cp ${TST_CLASSPATH} \ -Djunit.run.arg0=dummy -Djunit.run.arg1=dummy -Djnlp.no.jvm.data.model.set=true \ -Djava.library.path=../../gluegen/${build_dir_base}/obj:${build_dir}/nativewindow/obj:${build_dir}/jogl/obj:${build_dir}/newt/obj:${build_dir}/test/build/obj \ - --add-opens=java.desktop/sun.awt=ALL-UNNAMED --add-opens=java.desktop/sun.java2d=ALL-UNNAMED \ + --add-opens java.desktop/sun.awt=ALL-UNNAMED --add-opens java.desktop/sun.awt.windows=ALL-UNNAMED --add-opens java.desktop/sun.java2d=ALL-UNNAMED \ org.junit.runner.JUnitCore ${test_class} \ && OK=0 -- cgit v1.2.3