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

Changes

Summary

  1. Bug 958 - Add support for OpenJDK version notation (details)
  2. Bug 890: Adding versatile Bitstream implementation (details)
  3. Bug 980: Use Bitsream class for jogamp.common.os.elf.** (details)
  4. Bitstream: Add static 'long toUint32Long(int)' and 'int (details)
  5. Bitstream: Refine c70c730b22c847668cf475dc6f841b85297ac3ab: (details)
  6. Bitstream: Another CamelCase fix: uint32LongtoInt -> uint32LongToInt (details)
  7. Bug 980: Refine Bitstream API 'signed' and 'unsigned' semantics - (details)
  8. build-test.xml: Push 'java.generate' up from java.build to (details)
  9. Bitstream: Add 'throwIOExceptionOnEOF' mode; fix certain EOS situations (details)
Commit 86bdae8ce26d291c0096ed500581239dd2a87125 by Sven Gothel
Bug 958 - Add support for OpenJDK version notation

Manu <puybaret@eteks.com>:

In OpenJDK, Java version notation is a little different from Oracle JDK one:
OpenJDK uses "-u" instead of "_" to separate the version number from the update number, i.e. "1.7.0-u60-b04" vs "1.7.0_60-ea".
That would be nice to take this into account in the static initializer of jogamp.common.os.PlatformPropsImpl class. You could simply replace the line:
  final int usIdx = JAVA_VERSION.lastIndexOf("_");
by:
  final int usIdx = JAVA_VERSION.replace("-u", "_").lastIndexOf("_");
If you want to program it better, you can also test the "java.runtime.name" property that returns "OpenJDK Runtime Environment" for OpenJDK.

See also bug #944 https://jogamp.org/bugzilla/show_bug.cgi?id=944

+++

Done .. avoding the replace op.
The file was modifiedsrc/java/jogamp/common/os/PlatformPropsImpl.java (diff)
Commit d4d337be925a28b8701ac335c2b5cc6e390cabc9 by Sven Gothel
Bug 890: Adding versatile Bitstream implementation

We already have several locations where bitstream operations are required and
partially implemented (JPEG decoder, media parsing, ..)
as well as endian related conversion (elf parser, ..).

Create a versatile Bitstream class allowing:
  - Utilize I/O operations on I/O streams, buffers and arrays
  - Consider MSBfirst / LSBfirst mode
  - Linear bit R/W operations
  - Bulk R/W operations w/ endian related type conversion
  - Allow mark/reset and switching streams and input/output mode
  - Optimized operations

Complete set of unit tests included, covering hopefully all cases.
The file was addedsrc/junit/com/jogamp/common/util/TestBitstream04.java
The file was addedsrc/junit/com/jogamp/common/util/BitstreamData.java
The file was addedsrc/junit/com/jogamp/common/util/TestBitstream02.java
The file was addedsrc/junit/com/jogamp/common/util/TestBitstream03.java
The file was modifiedmake/scripts/runtest.sh (diff)
The file was addedsrc/junit/com/jogamp/common/util/TestBitstream00.java
The file was addedsrc/junit/com/jogamp/common/util/TestBitstream01.java
The file was addedsrc/java/com/jogamp/common/util/Bitstream.java
Commit 8022ae51a072f5198409d3c81d9979456676d0cf by Sven Gothel
Bug 980: Use Bitsream class for jogamp.common.os.elf.**
The file was modifiedsrc/java/jogamp/common/os/elf/IOUtils.java (diff)
The file was modifiedsrc/java/jogamp/common/os/elf/SectionArmAttributes.java (diff)
Commit c70c730b22c847668cf475dc6f841b85297ac3ab by Sven Gothel
Bitstream: Add static 'long toUint32Long(int)' and 'int toUint32Int(int)' conversion functions
The file was modifiedsrc/junit/com/jogamp/common/util/TestBitstream00.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/Bitstream.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/BitstreamData.java (diff)
The file was modifiedmake/scripts/runtest.sh (diff)
Commit bd91f0fb4c67c7effc4715600e53f38bf1b79e12 by Sven Gothel
Bitstream: Refine c70c730b22c847668cf475dc6f841b85297ac3ab: 'toUint32Long' -> 'toUInt32Long', add 'uint32LongtoInt'
The file was modifiedsrc/junit/com/jogamp/common/util/TestBitstream00.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/BitstreamData.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/Bitstream.java (diff)
Commit dac8d11f68ffa3a35fedeab879132c5d9aa4907c by Sven Gothel
Bitstream: Another CamelCase fix: uint32LongtoInt -> uint32LongToInt
The file was modifiedsrc/java/com/jogamp/common/util/Bitstream.java (diff)
Commit 4447232af0d95a4348d09d4ed03fbef48394ca3a by Sven Gothel
Bug 980: Refine Bitstream API 'signed' and 'unsigned' semantics - readUInt32(..) must return long due to EOF
The file was modifiedsrc/junit/com/jogamp/common/util/TestBitstream03.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestBitstream02.java (diff)
The file was modifiedmake/scripts/runtest.sh (diff)
The file was modifiedsrc/java/jogamp/common/os/elf/IOUtils.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestBitstream04.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/TestBitstream00.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/Bitstream.java (diff)
The file was modifiedsrc/junit/com/jogamp/common/util/BitstreamData.java (diff)
Commit 3c29aebb4910858df66cc54d186623f1bb7eff04 by Sven Gothel
build-test.xml: Push 'java.generate' up from java.build to android.package
The file was modifiedmake/build-test.xml (diff)
Commit 15ea21ea190a79a3740b66698103ef5b4f145e94 by Sven Gothel
Bitstream: Add 'throwIOExceptionOnEOF' mode; fix certain EOS situations (flush, skip)
The file was modifiedsrc/java/com/jogamp/common/util/Bitstream.java (diff)