Re: jogl 2.4 and Java 17: Index -1 out of bounds for length 1
Posted by
Martin on
Jan 05, 2022; 10:20am
URL: https://forum.jogamp.org/jogl-2-4-and-Java-17-Index-1-out-of-bounds-for-length-1-tp4041575p4041576.html
Hi,
You should be able to avoid this problem by adding these VM options at startup
--add-exports java.base/java.lang=ALL-UNNAMED
--add-exports java.desktop/sun.awt=ALL-UNNAMED
--add-exports java.desktop/sun.java2d=ALL-UNNAMED
This was originally discussed
here.