Skip to content
The Jenkins Controller is preparing for shutdown. No new builds can be started.
Success

Changes

Summary

  1. gluegen: avoid bugs with sign-extension in readUInt16 (details)
  2. build/test: Add ant-junit4.jar to classpath; Add experimental (details)
  3. PosixDynamicLinkerImpl: cleanup uncommented enums's intendation (details)
  4. UnixDynamicLinkerImpl_JNI.c: Add (inactive) dlopen debug code (helper to (details)
  5. unit test: preserve hs_err_pid*.log files (move to results folder for (details)
  6. Bug 923: Remove dependency of CStruct annotation processor _generation_ (details)
  7. Eclipse .classpath: Add 'src' 'test/junit' (details)
  8. RunnableTask: Add static method 'invokeOnNewThread(..)' for convenience (details)
Commit 075471df41497e07891ad3e3944ee8e8e754199a by Harvey Harrison
gluegen: avoid bugs with sign-extension in readUInt16

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
The file was modifiedsrc/java/com/jogamp/common/util/Bitstream.java (diff)
Commit db5bdd94d004038146a0f9f09caf2e0f1866d67a by Sven Gothel
build/test: Add ant-junit4.jar to classpath; Add experimental gluegen-rt-alt recipe (inactive); Misc ..
The file was modifiedmake/build.xml (diff)
The file was modifiedmake/scripts/runtest.sh (diff)
The file was addedsrc/junit/com/jogamp/gluegen/test/junit/generation/Test1p2LoadJNIAndImplLib.java (diff)
The file was modifiedmake/gluegen-properties.xml (diff)
The file was addedmake/Manifest-rt-alt (diff)
The file was addedmake/scripts/make.gluegen.all.generic.sh (diff)
The file was modifiedmake/build-test.xml (diff)
Commit 6c04000e9921dfe27f0b1eb02c853b71fef2d1a9 by Sven Gothel
PosixDynamicLinkerImpl: cleanup uncommented enums's intendation
The file was modifiedsrc/java/jogamp/common/os/PosixDynamicLinkerImpl.java (diff)
Commit 3ebfe26810ca1bebde58ca70b083cd48e9b335bb by Sven Gothel
UnixDynamicLinkerImpl_JNI.c: Add (inactive) dlopen debug code (helper to analyze llvm-vmkit libGL loading issue)
The file was modifiedsrc/native/unix/UnixDynamicLinkerImpl_JNI.c (diff)
Commit 598da96b3d2ffc3e0915f73749cbafa5fa5cea90 by Sven Gothel
unit test: preserve hs_err_pid*.log files (move to results folder for archive)
The file was modifiedmake/build-test.xml (diff)
Commit 1e53a38eb06aa8ff50660fdf7bd8570b27f27c56 by Sven Gothel
Bug 923: Remove dependency of CStruct annotation processor _generation_ and generated_class_user due to Java8 issues.

Java8's annotation processor as embedded within javac does not allow
referencing not-yet existing generated classes in a class source code
which will produce these generated classes via the annotation process.

Example:

+++
import com.jogamp.gluegen.structgen.CStruct;

public class Lala {
  @CStruct(name="RenderingConfig", header="TestStruct01.h")
  public RenderingConfig config;
}
+++

Above example illustrates that the type 'RenderingConfig'
does not exist at time of processing the annotation.
The type will be created via the annotation process itself.

Even though we pass '-proc:only', i.e. skip java compilation,
Java8's annotation processing via javac fails in such case.

We see this as a bug within javac's annotation processing itself!

+++

This workaround splits the annotation process and using the class as
generated by the former.

To allow this to work, CStruct receives a new field 'jname'
allowing to enforce the java-name of the structure
using a dummy field type like boolean.

  @CStruct(name="RenderingConfig", jname="RenderingConfig", header="TestStruct01.h")
  public boolean dummy;

Further more CStruct can be annotated on the package, i.e. 'package-info.java',
avoiding the dependency problem altogether.
To support multiple header files and types,
'CStructs' has been introduced using an array of 'CStruct'.

  @CStructs({@CStruct(name="RenderingConfig", header="TestStruct01.h"), @CStruct(name="Pixel", header="TestStruct02.h")})
  package com.jogamp.gluegen.test.junit.structgen;

Tests:
  - Build w/ Java7 and Java8
  - Validated 'major version 50' (Java 6) class files (OK)
The file was modifiedtest/junit/com/jogamp/gluegen/StructAccessorTest.java (diff)
The file was addedsrc/java/com/jogamp/gluegen/structgen/CStructs.java (diff)
The file was addedsrc/junit/com/jogamp/gluegen/test/junit/structgen/BuildStruct01.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/JavaEmitter.java (diff)
The file was addedsrc/junit/com/jogamp/gluegen/test/junit/structgen/package-info.java (diff)
The file was modifiedsrc/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen01.java (diff)
The file was addedsrc/junit/com/jogamp/gluegen/test/junit/structgen/TestStruct02.h (diff)
The file was modifiedmake/scripts/runtest.sh (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/structgen/CStructAnnotationProcessor.java (diff)
The file was modifiedmake/build-test.xml (diff)
The file was modifiedmake/scripts/make.gluegen.all.linux-x86_64.sh (diff)
The file was modifiedmake/scripts/setenv-build-jogl-x86_64.sh (diff)
The file was addedsrc/junit/com/jogamp/gluegen/test/junit/structgen/TestStructGen02.java (diff)
The file was modifiedsrc/java/com/jogamp/gluegen/structgen/CStruct.java (diff)
The file was modifiedmake/scripts/check-java-major-version.sh (diff)
Commit d2b21db6b0a6c7cb7dc12dbaa32ff47c579273bc by Sven Gothel
Eclipse .classpath: Add 'src' 'test/junit'
The file was modified.classpath (diff)
Commit f39100b35d0833764f2220e487ea7ea05ed87352 by Sven Gothel
RunnableTask: Add static method 'invokeOnNewThread(..)' for convenience (Used in JOGL to mitigate Bug 1004)
The file was modifiedsrc/java/com/jogamp/common/util/RunnableTask.java (diff)