Re: Jogl/Jogamp on Java 9 building from source
Posted by Douglas Lyon on Dec 30, 2017; 2:06pm
URL: https://forum.jogamp.org/Jogl-Jogamp-on-Java-9-tp4038012p4038456.html
This just in from Predrag...thought I would post it, as I think it is very interesting.
Thanks Predrag!
Regards,
- Doug
The cause of JVM 9 crash has been averted in Java3D now, but if we
allow it to happen, the crash can be further traced to the
GLCanvasImpl.destroy() method, and more precisely, to the
MacOSXCGLContext.destroyImpl() method, and in it, more precisely to
the releaseUpdateHandle() in the same class, and then to this line of
code:
CGL.updateContextUnregister(updateHandle);
The class CGL is found in the file
jogl/build/jogl/gensrc/classes/jogamp/opengl/macosx/cgl/CGL.java
The method in question is native:
public static native void updateContextUnregister(long updater);
This is the bottom line