Not sure if it will help, but it recalled me
this recent commit made in JOGL 2.4.0 on a similar "0 > gcIdx" test.
As array indices are always >= 0 in Java, it's sure that this test can only lead to an IndexOutOfBoundsException exception, no?
Emmanuel Puybaret