Bug 512 - JOGL won't build with Java 7
Summary: JOGL won't build with Java 7
Alias: None
Product: Jogl
Classification: JogAmp
Component: opengl (show other bugs)
Version: 2
Hardware: All all
: --- normal
Assignee: Sven Gothel
Depends on:
Reported: 2011-08-26 03:23 CEST by Wade Walker
Modified: 2011-12-02 08:00 CET (History)
0 users

See Also:
Type: ---
SCM Refs:
cd31c4f0dc7a5f5595e0ca2f0e815d3814ebd94e 78b7732498099e1cc6bbedfa7437bb3c8955cfc5
Workaround: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Wade Walker 2011-08-26 03:23:57 CEST
Apparently javah has changed slightly in Java 1.7. In Java 1.6, when you ran javah on GDI.java, it didn't require that PointerBuffer.class be in the classpath, even though PointerBuffer is used in some parameter lists in GDI.java. In Java 1.7, javah does require that PointerBuffer.class be in the classpath.

Fixes forthcoming shortly after testing.
Comment 1 Wade Walker 2011-08-26 04:01:24 CEST
Fixed in commit https://github.com/WadeWalker/jogl/commit/cd31c4f0dc7a5f5595e0ca2f0e815d3814ebd94e. Submitted pull request to Sven.
Comment 2 Sven Gothel 2011-08-30 22:08:37 CEST
Merged Wade's commit cd31c4f0dc7a5f5595e0ca2f0e815d3814ebd94e
and generalized it 78b7732498099e1cc6bbedfa7437bb3c8955cfc5.
The latter also uses 'rootrel.build' properly.