If your code is well organized these are not “Massive changes” and we can’t afford keeping a Texture loader relying on com.sun.* classes.
Nevertheless I agree with you that incompatibility shouldn’t be introduced lightly and is bad, but that’s something we sometime have to do :-\
(It’s JSR-231, not 371)
It was moved to JSR-231 because the old JOGL is now officially dead. It is slow now because (IMHO) Xith3D doesnt’ uses FloatBuffers and it is needed to make things like :
Vector4f plane = texGen.getPlaneS();
planeBuffer.put(plane.x);
planeBuffer.put(plane.y);
planeBuffer.put(plane.z);
planeBuffer.put(plane.w);
planeBuffer.rewind();
gl.glTexGenfv(GL.GL_S, glGenMode, planeBuffer);
plane = texGen.getPlaneT();
planeBuffer.put(plane.x);
planeBuffer.put(plane.y);
planeBuffer.put(plane.z);
planeBuffer.put(plane.w);
planeBuffer.rewind();
gl.glTexGenfv(GL.GL_T, glGenMode, planeBuffer);
plane = texGen.getPlaneR();
planeBuffer.put(plane.x);
planeBuffer.put(plane.y);
planeBuffer.put(plane.z);
planeBuffer.put(plane.w);
planeBuffer.rewind();
gl.glTexGenfv(GL.GL_R, glGenMode, planeBuffer);
plane = texGen.getPlaneQ();
planeBuffer.put(plane.x);
planeBuffer.put(plane.y);
planeBuffer.put(plane.z);
planeBuffer.put(plane.w);
planeBuffer.rewind();
gl.glTexGenfv(GL.GL_Q, glGenMode, planeBuffer);
because of that.
Lilian, am I wrong ?