Posted by gouessej on Apr 16, 2014; 2:30pm URL: https://forum.jogamp.org/Error-in-MacOSXCGLContext-since-Java-7u55-tp4032200p4032205.html
A plain Java application outside the browser without Java Web Start and an applet don't use the same classloader and I already used a similar workaround. It reminds me this bug:
http://bugs.java.com/view_bug.do?bug_id=8017776
You should read the source code of OpenJDK to understand how it works. Oracle Java uses almost the same source code except for Java Web Start / Icedtea Web Start.