From bcad73dccb1cd0c32e3a77b3406ddc74e8f2e4ac Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 25 Sep 2010 15:06:26 +0200 Subject: Unit test for Bug 411 (Pre AWT/Swing Usage, Mixed usage with JOGL) - GLCanvas NPE fix - NewtCanvasAWT added destroy(..) Unit test for Bug 411 (Pre AWT/Swing Usage, Mixed usage with JOGL): Added exhausting Pre AWT/Swing usage test utilizing a later JOGL init with GLCanvas and NEWTCanvasAWT. This works for NV+X11+Ubuntu+64bit, have to do more testing. GLCanvas NPE fix at destroy/dispose, check if already destroyed, ie context==null NewtCanvasAWT: Add destroy() and destroy(boolean unrecoverable) --- make/scripts/java-run-all.sh | 1 + 1 file changed, 1 insertion(+) (limited to 'make/scripts/java-run-all.sh') diff --git a/make/scripts/java-run-all.sh b/make/scripts/java-run-all.sh index c7eb15ed6..bc0a61cab 100755 --- a/make/scripts/java-run-all.sh +++ b/make/scripts/java-run-all.sh @@ -46,6 +46,7 @@ uname -a | grep -i Darwin && MOSX=1 # D_ARGS="-Dnewt.debug=all" # D_ARGS="-Dnewt.debug.Window -Dnewt.debug.Display -Dnewt.debug.EDT" # D_ARGS="-Dnewt.debug.EDT -Dnewt.debug.Window" +# D_ARGS="-Dsun.awt.disableMixing=true -Dnewt.debug.EDT" D_ARGS="-Dnewt.debug.EDT" # D_ARGS="-Dnewt.debug.Display" # D_ARGS="-Djogl.debug.Animator -Dnewt.debug.Window -Dnewt.debug.Display" -- cgit v1.2.3