There were some changes lately regarding the usage of generics that leads to an uncompilable state using an official sun JDK.
Due to an
compiler bug there are several incompatible type errors. I didn't even know that mixins (SomeClass extends BaseClass<SomeClass>) like they lately introduced in the GLSLShader code are allowed at all.
There is a workaround to first cast an incomplete type to Object and then to the desired type, but since some API calls return SomeClass<?> (see shader loader), this would require the user to be aware of the problem and use workaround it themselves, which is IMO undesirable.
I would rather change back to returning a simple base interface instead of an incomplete type (SomeClass<?>).
Any thoughts?