diff options
author | Sven Gothel <[email protected]> | 2023-09-29 03:22:28 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2023-09-29 03:22:28 +0200 |
commit | 2e46eb1bf06ef07801062122716aa99a6c871646 (patch) | |
tree | 0ef44b49991e270b5e956240056d6ce6a392871f /make/scripts/run-test-until-crash.sh | |
parent | a0e6d5883de009d4649d011633090d7660fa229a (diff) |
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.
Diffstat (limited to 'make/scripts/run-test-until-crash.sh')
-rwxr-xr-x | make/scripts/run-test-until-crash.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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 |