Bad texture with gluBuild2DMipmaps & jogl.glu.nojava=false

Hi,

I’ve got a texture which is badly converted to a texture with gluBuild2DMipmaps.
A black line appears at the top of the picture, which is not present in the source picture.

By disabling java implementation of glu with -Djogl.glu.nojava=true, the texture is well displayed.
By using glTexImage2D, the black line also did not appears and the texture is ok.
Also, drawing it into a BufferedImage (with datas passed to OpenGl) is good (no black line).

Picture file (378x256) can be found here :
http://jerome.jouvie.free.fr/downloads/PLATEOX2.bmp
Screenshots :
gluBuild2DMipmaps & jogl.glu.nojava=false http://jerome.jouvie.free.fr/downloads/gluBuild2DMipmaps.png
gluBuild2DMipmaps & jogl.glu.nojava=true, or glTexImage2D http://jerome.jouvie.free.fr/downloads/glTexImage2D.png

Can someone tell me if this issue come from JSR231. The version I use is the 1.1.0 RC3.

Please test with the final 1.1.0 release. One bug was fixed in the GLU implementation which may affect the behavior.

If it still isn’t fixed, please open a bug with the Issue Tracker on the JOGL home page and attach a small and self-contained test case, including the image it uses.

This is the same with final 1.1.0.
I writting a little example and I while post the bug report.

Here is a test file.

The picture file (378x256) can be found here :
http://jerome.jouvie.free.fr/downloads/PLATEOX2.bmp

I’m looking at reporting the bug on the issue tracker.

EDIT: Bug reported as Issue #302