Login  Register

Re: Available GLVersions not set for EGLGraphicsDevic

Posted by Xerxes Rånby on Oct 24, 2019; 8:49am
URL: https://forum.jogamp.org/Available-GLVersions-not-set-for-EGLGraphicsDevic-tp4040111p4040119.html

fredand44 wrote
Hello Xerxes,
Thanks alot!
I can confirm it works when I followed your instructions.

There was one execption but I think that might be a bug in my app. I will look into that.

How ever there were a couple of warningas as well at start up:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by javax.media<http://javax.media>.j3d.JoglPipeline (file:/home/albin/H%c3%a4mtningar/object3Dcreator-app-1.0.0-jar-with-dependencies.jar) to method sun.awt.AppContext.getAppContext()
WARNING: Please consider reporting this to the maintainers of javax.media<http://javax.media>.j3d.JoglPipeline
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

This warning is produced by java11. Future java versions may remove the posibility to use this kind of reflection access that jogl and java3d depend on for AWT interoperability.

Java3D needs some fixes for java11 to get rid of those warnings in j3d.JoglPipeline. Possibly a rewrite to switch window toolkit from AWT (AWT depend on functionality inside the jdk) to NEWT (NEWT only depent on functionality provided by  jogamp)

We have a source code branch for jogl under testing that adress similar java11 issues
http://forum.jogamp.org/java11-release-progress-thread-also-review-td4039948.html

There is no build yet with those java11 patches in place.