Bug 835

Summary: JOGL v2.0.2 compiled to target Java7 instead of Java6
Product: [JogAmp] Jogl Reporter: martinezmj
Component: coreAssignee: Sven Gothel <sgothel>
Status: RESOLVED FIXED    
Severity: major CC: gouessej, harvey.harrison, sgothel
Priority: ---    
Version: 2   
Hardware: All   
OS: all   
Type: --- SCM Refs:
gluegen 834937cfbafb5ff11d95738c456bae254c957173 joal 79d9dae462c6d8227807e753bf487fd87d446df7 jogl b1db882abfe6166abb5f06df8ff2d386e5f8f842 jocl d7bcbaf47c8b78457811dbdaa1de4f6e3ae6f4cc
Workaround: ---

Description martinezmj 2013-09-12 15:23:18 CEST
JOGL v2.0 was compiled to target Java6.  The userguide also states JOGL supports >= Java 1.6.  However, JOGL v2.0.2 has been compiled to target Java7.  Building my JOGL-based application with a Java 6 JDK produces errors when using v2.0.2, such as:

error: Exception thrown while constructing Processor object: com/jogamp/gluegen/structgen/CStructAnnotationProcessor : Unsupported major.minor version 51.0

I understand JOGL will probably eventually become Java 7 only, but this change appears to have been made inadvertently between versions 2.0 and 2.0.2.

Related: http://forum.jogamp.org/JOGL-2-0-2-requires-Java-7-td4030018.html
Comment 1 Harvey Harrison 2013-09-12 17:57:11 CEST
I think this also applies to the JOCL stuff, the FIJI guys ran into the same thing and they cannot require Java 7 at this time making a JOCL update a no-go for them until this is fixed.
Comment 2 Sven Gothel 2013-09-19 08:05:10 CEST
J2SE 7 = 51 (0x33 hex),
J2SE 6.0 = 50 (0x32 hex)

validating now ..
Comment 3 Sven Gothel 2013-09-19 08:22:32 CEST
joal: clean

gluegen: tainted 

more to come ..
Comment 4 Sven Gothel 2013-09-19 09:23:31 CEST
jogl was also tainted

jocl was clean

++

fixed