Login  Register

Many warings in jdk10

Posted by george2008 on Aug 27, 2018; 6:52am
URL: https://forum.jogamp.org/Many-warings-in-jdk10-tp4039141.html

hi,  i got many warnings in jdk10.0.2.  does it affect jogl functionality ? or bugs ?

[Environment]
javaVersion = 10.0.2
osName = Linux
osVersion = 3.19.8-100.fc20.x86_64

[Output]
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.jogamp.common.os.NativeLibrary$3 (file:/home/xxx/3rdParty/jogamp-all-platforms/jar/gluegen-rt.jar) to method java.lang.ClassLoader.findLibrary(java.lang.String)
WARNING: Please consider reporting this to the maintainers of com.jogamp.common.os.NativeLibrary$3
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
libEGL warning: GLX/DRI2 is not supported


BUT

[Environment]
javaVersion = 1.8.0_162
osName = Linux
osVersion = 3.19.8-100.fc20.x86_64

[Output]
libEGL warning: GLX/DRI2 is not supported



Below is JOGL info:

Java (TM) Binding for the OpenGL (r) API, version 2.3
-----------------------------------------------------------------------------

This software is licensed as specified in the LICENSE.txt file.  
You must use this software in accordance with the terms
under which the code is licensed.

This is build version 2.3.2, based on:
              branch  origin/master
              commit  e794fc40ba723f2fca4ac892e873975fb393e007

Instructions for unzipping Java Binding for the OpenGL API, version 2.3
----------------------------------------------------------------------------------