where is GLU source code?

I am looking for the source code for class GLU. I note that it is not here:
https://jogl.dev.java.net/source/browse/jogl/src/classes/javax/media/opengl/glu/

You can find it under the make directory. I believe it’s located there becaue it’s mixed up with some auto generated code during the build process.

The bulk of the non-generated portions are also under src/classes/com/sun/opengl/impl/, in particular mipmap/ and tessellator/.

Thanks. I was having problems loading class GLU in an applet whenever I deployed it using an unsigned version of jogl.jar. It would load fine when jogl.jar was signed. I figured this was because class GLU was composed of both a pure Java implementation and a native library implementation and that the native library implementation was causing the class to fail to load when unsigned. I wanted to look into the source code to verify.

Since the class is assembled in bits and pieces during the make, I am not sure if my hypothesis is correct. I went ahead and assumed that it was and I created an interface and a wrapper class for GLU that used just the pure Java implementation of the methods I needed for my JIGL demo. You can see what I have here:
http://localhost:8080/space/jigl/
http://whoola.cvs.sourceforge.net/whoola/core/src/com/whoola/core/media/jigl/JiglGLU.java?revision=1.1&view=markup
http://whoola.cvs.sourceforge.net/whoola/core/src/com/whoola/core/media/jigl/jogl/JoglJiglGLU.java?revision=1.1&view=markup
http://whoola.cvs.sourceforge.net/whoola/core/src/com/whoola/core/media/jigl/jgl/JglJiglGLU.java?revision=1.1&view=markup

You can see the final source code for the class by building the JOGL source tree. It isn’t too difficult to do so; see the build instructions.

By default JOGL’s GLU support is using the pure Java ports of everything, not the bindings to the C version (some of which are left in place just in case there are remaining bugs in the pure Java ports). If you could post a stack trace for the problems you saw that would be helpful in tracking down the problem. I suspect you may be triggering static initialization of something in JOGL which causes the JOGL native libraries to attempt to be loaded.

From the document you cited, it looks like it might take an hour or two to get it set up. Do you or someone else have already have the source code file for class GLU?

The error I was getting was ClassNoDefFoundError or somesuch upon instantiating GLU. This would only occur when the jogl.jar file was unsigned. I am using a recent jogl.jar but not the latest.

I’ve placed a relatively recent build of the file here.

Again, a stack trace is needed for any further diagnosis.

Thanks. I saw nothing in the GLU constructor that would cause a problem.

I attempted to get the stack trace but I can no longer duplicate the error I was getting before in the unsigned applet. I went back to using class GLU as it seems safe to do so now:
http://whoola.cvs.sourceforge.net/whoola/core/src/com/whoola/core/media/jigl/jogl/JoglJiglGLU.java?view=diff&r1=text&tr1=1.2&r2=text&tr2=1.1&diff_format=h

Thanks.