Warning: An illegal reflective access operation has occurred...

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Warning: An illegal reflective access operation has occurred...

Jeaton
I'm getting this warning when trying to run this code.

https://gyazo.com/a6030b781eb24584dcda2f81c6921382

Using:
  - jdk 12.0.1
  - eclipse version 2019-12 (4.14.0)

I've done a bit of research and found that it's some sort of bug so I've got no clue how to get my code running. If I haven't provided enough information, let me know.
Reply | Threaded
Open this post in threaded view
|

Re: Warning: An illegal reflective access operation has occurred...

Sailsman63
Which version of jogamp/jogl are you using?

Not so much a bug, necessarily. Newer versions of Java are removing old/deprecated code in the future.

It's just a warning, so it'll work with Java 12 as is, just may not work on future versions
Reply | Threaded
Open this post in threaded view
|

Re: Warning: An illegal reflective access operation has occurred...

gouessej
Administrator
In reply to this post by Jeaton
Hello

Please post your code elsewhere and tell us which version of JOGL you use.
Julien Gouesse | Personal blog | Website