From b9adfc2c67d2bc46cae887ed39a5953b1e74e96a Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Fri, 8 Oct 2010 01:56:46 +0200 Subject: Fix: JOGL GLContextLock starvation; Tighten NEWT/AWT focus unit tests Fix: JOGL GLContextLock starvation - Apply changes made in RecursiveToolkitLock (c8a9c59e4838cd43090378a7ed60544449472801), ie notifyAll() -> notify(), plus sync (flow/mem) usage. Fix: Tighten NEWT/AWT focus unit tests - AWTRobotUtil.requestFocusAndWait() waits for EventCountAdapter gain and lost focus as well. - In case of NewtCanvasAWT, additionally wait for it's lost focus --- make/scripts/java-run-all.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 6bb053a16..bd8b16faf 100755 --- a/make/scripts/java-run-all.sh +++ b/make/scripts/java-run-all.sh @@ -45,9 +45,9 @@ uname -a | grep -i Darwin && MOSX=1 # D_ARGS="-Djogl.debug=all -Dnewt.debug=all -Dnativewindow.debug=all" # 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="-Dnewt.debug.EDT -Dnewt.debug.Window" # D_ARGS="-Dsun.awt.disableMixing=true -Dnewt.debug.EDT" -D_ARGS="-Dnewt.debug.EDT" +# D_ARGS="-Dnewt.debug.EDT" # D_ARGS="-Dnativewindow.debug.TraceLock" # D_ARGS="-Dnewt.debug.Display" # D_ARGS="-Djogl.debug.Animator -Dnewt.debug.Window -Dnewt.debug.Display" -- cgit v1.2.3