Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.
Success

Changes

Summary

  1. Fix Bug 840: DefaultEDTUtil.restart() shall only reuse ThreadGroup (tg) (details)
  2. Bug 816: Add unit test 'TestBug816OSXCALayerPosAWT' (details)
  3. TileRendererBase: Remove redundant reshape propagation of atached GLEL, (details)
  4. Bug 816: Fix OSX CALayer 'quirks' for AWT 1.7.0_40 - See JAWTUtil (details)
  5. OSXMisc.c: Fix compilation error w/ java6's jint definition (probably (details)
Commit c5bec6b8f5c33a812338dcbe8994546bddf0508b by Sven Gothel
Fix Bug 840: DefaultEDTUtil.restart() shall only reuse ThreadGroup (tg) is not destroyed, otherwise use current thread's tg.

With jdk7u40, when re-launching a NEWT applet (JOGLNewtApplet1Run),
i.e. via browser back and forth, the following exception happens:

java.lang.RuntimeException: java.lang.IllegalThreadStateException
    at com.jogamp.newt.awt.applet.JOGLNewtApplet1Run.init(JOGLNewtApplet1Run.java:218)
    at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.IllegalThreadStateException
    at java.lang.ThreadGroup.addUnstarted(Unknown Source)
    at java.lang.Thread.init(Unknown Source)
    at java.lang.Thread.<init>(Unknown Source)
    at jogamp.newt.DefaultEDTUtil$NEDT.<init>(DefaultEDTUtil.java:280)
    at jogamp.newt.DefaultEDTUtil.restart(DefaultEDTUtil.java:91)
    at jogamp.newt.DisplayImpl.runOnEDTIfAvail(DisplayImpl.java:231)
    at jogamp.newt.WindowImpl.runOnEDTIfAvail(WindowImpl.java:1758)
    at jogamp.newt.WindowImpl.setUndecorated(WindowImpl.java:1477)
    at com.jogamp.newt.opengl.GLWindow.setUndecorated(GLWindow.java:278)
    at com.jogamp.newt.awt.applet.JOGLNewtApplet1Run.init(JOGLNewtApplet1Run.java:188)
    ... 3 more

This is due to 7u40's changed ThreadGroup (tg) lifecycle, i.e. the tg is destroyed.
In such case, DefaultEDTUtil.restart() shall use the current threads tg.
The file was modifiedsrc/newt/classes/jogamp/newt/DefaultEDTUtil.java (diff)
Commit 51ae910b9ad4f3691c2b91a912b94701d0ef98ac by Sven Gothel
Bug 816: Add unit test 'TestBug816OSXCALayerPosAWT'
The file was modifiedmake/scripts/tests-osx-x64.sh (diff)
The file was addedsrc/test/com/jogamp/opengl/test/junit/jogl/awt/TestBug816OSXCALayerPosAWT.java
The file was modifiedmake/scripts/tests.sh (diff)
Commit 2f09d266f75dfb4ab0d4504dd0a7699757bc40b3 by Sven Gothel
TileRendererBase: Remove redundant reshape propagation of atached GLEL, call pre/post reshape in it's display method instead.
The file was modifiedsrc/jogl/classes/com/jogamp/opengl/util/TileRendererBase.java (diff)
Commit 4b5435c68c3f12d62dadb395957362eceacfb25c by Sven Gothel
Bug 816: Fix OSX CALayer 'quirks' for AWT 1.7.0_40 - See JAWTUtil JAWT_OSX_CALAYER_QUIRK_SIZE and JAWT_OSX_CALAYER_QUIRK_POSITION.

- Provide quirk bits for OSX CALayer depending on used JVM/AWT
  and act accordingly.

- TestBug816OSXCALayerPosAWT: Add resize by frame
The file was modifiedsrc/nativewindow/native/macosx/NativeWindowProtocols.h (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/awt/NewtCanvasAWT.java (diff)
The file was modifiedsrc/nativewindow/classes/jogamp/nativewindow/jawt/macosx/MacOSXJAWTWindow.java (diff)
The file was modifiedsrc/nativewindow/native/macosx/OSXmisc.m (diff)
The file was modifiedsrc/newt/classes/com/jogamp/newt/awt/applet/JOGLNewtApplet1Run.java (diff)
The file was modifiedsrc/test/com/jogamp/opengl/test/junit/jogl/awt/TestBug816OSXCALayerPosAWT.java (diff)
The file was modifiedsrc/jogl/native/macosx/MacOSXWindowSystemInterface-calayer.m (diff)
The file was modifiedsrc/nativewindow/classes/jogamp/nativewindow/jawt/JAWTUtil.java (diff)
The file was modifiedsrc/nativewindow/classes/jogamp/nativewindow/macosx/OSXUtil.java (diff)
Commit 7231fa94ce228b1ea31acba5582e95b0c9f40778 by Sven Gothel
OSXMisc.c: Fix compilation error w/ java6's jint definition (probably clang as well)

Regression of commit 4b5435c68c3f12d62dadb395957362eceacfb25c
The file was modifiedsrc/nativewindow/native/macosx/OSXmisc.m (diff)