Bug 379

Summary: JOGL 2.0 beta JNLP applets collides with installed JOGL 1.x
Product: [JogAmp] Jogl Reporter: Sven Gothel <sgothel>
Component: coreAssignee: Sven Gothel <sgothel>
Status: VERIFIED INVALID    
Severity: normal    
Priority: P3    
Version: 1   
Hardware: All   
OS: all   
Type: DEFECT SCM Refs:
Workaround: ---

Description Sven Gothel 2010-03-24 07:51:52 CET


---- Reported by zesharp 2009-10-22 09:43:16 ----

Hi 

JOGL 2.0 beta JNLP applets collides with installed JOGL 1.x in JRE.
The typical output is shown below:

Exception in thread "thread applet-demos.applets.GearsApplet-1" 
java.lang.VerifyError: 
(class: javax/media/opengl/awt/GLCanvas, 
  method: chooseGraphicsConfiguration signature: 
    (Ljavax/media/opengl/GLCapabilities;
     Ljavax/media/opengl/GLCapabilitiesChooser;
     Ljava/awt/GraphicsDevice;) Ljavax/media/nativewindow/awt/
AWTGraphicsConfiguration;) 
 
Incompatible argument to function
  at demos.applets.GearsApplet.init(GearsApplet.java:18)
  at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown 
Source) 
  at java.lang.Thread.run(Unknown Source)


This happens because the native function has different signature, but it also 
shown a possible issue when mixing old and new DLLs.
I'd like suggest the JOGL 2.0 native binaries(*.dll, lib*.so) has different 
names, to avoid cross loading : JOGL 1.x dlls being loaded by JOGL 2.0 jars, 
and vice-versa.

Workaround :
(parcial)
remove JOGL 1.x from JRE6/bin and JRE6/lib/ext



---- Additional Comments From kbr 2009-10-22 10:39:11 ----

First: the JOGL project has moved to http://kenai.com/projects/jogl. Issues should be reported there and 
not on this site.

Installing JOGL into the JRE has never been supported. See 
http://download.java.net/media/jogl/doc/userguide/ under "Local installation for development". That 
describes the suggested mechanism for developing locally with JOGL.




--- Bug imported by sgothel@jausoft.com 2010-03-24 07:51 EDT  ---

This bug was previously known as _bug_ 379 at https://jogl.dev.java.net/bugs/show_bug.cgi?id=379