GL11 and GL30 both have a GL_RED constant with the same value. This causes a conflict error when statically importing both classes. Fix is to simply remove GL_RED from GL30 :)
Also, add a test case that *-imports all GLXX and extensions classes to test for duplicates.
This bug was found by theagentd and sproingie suggested the test case, so credit goes to them. :)
While it seems inconsistent to have constants/methods declared in GL30 which are already in GL10, removing the one from GL30 now would break existing application. I would defer that cleanup to LWJGL 3.0.
I believe this would only trivially break source code; the constants are otherwise inlined in to bytecode.
And let's face it, there's not a lot of LWJGL OpenGL3.0 code out there is there.
Cas :)
Thanks for the report, it's been removed.