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

Changes

Summary

  1. Fix Bug625: StructAccessor missing setShortsAt() and getShortsAt() (details)
  2. Add com.jogamp.common.util.PrimitiveStack (FloatStack and IntegerStack), (details)
  3. PrimitiveStack: Add 'void position(int)' to set new position. Add test (details)
Commit 0104f0ff35304b0aa416c2caa7b53aadf592f36a by Sven Gothel
Fix Bug625: StructAccessor missing setShortsAt() and getShortsAt() methods for short[]

For short[] Java code gets emitted for an StructAccessor object that uses:
  void setShortsAt(int i, short[] shorts)
  short[] getShortsAt(int i, short[] shorts)

Problem was that StructAccessor.java had no such methods - added.
The file was modifiedsrc/java/com/jogamp/common/nio/StructAccessor.java (diff)
Commit ac16df0bab94fab313030ead42644844d1690a82 by Sven Gothel
Add com.jogamp.common.util.PrimitiveStack (FloatStack and IntegerStack), a simple primitive stack implementation.

Currently only FILO put/get operations are implemented using either
primitive arrays as I/O itself or <Type>Buffer.

Unit tests are included..

Note: Only FloatStack is implemented in a manual, where others (IntegerStack)
      is derived (generated) from it. Same goes w/ unit tests.
The file was modifiedmake/build.xml (diff)
The file was addedsrc/junit/com/jogamp/common/util/TestFloatStack01.java (diff)
The file was addedsrc/java/com/jogamp/common/util/PrimitiveStack.java (diff)
The file was modifiedmake/scripts/runtest.sh (diff)
The file was addedsrc/java/com/jogamp/common/util/FloatStack.java (diff)
Commit 8b3e5b94bcd3167278eb972b2be37086d3bd2996 by Sven Gothel
PrimitiveStack: Add 'void position(int)' to set new position. Add test case w/ initialSizeElem:=0.
The file was modifiedsrc/junit/com/jogamp/common/util/TestFloatStack01.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/PrimitiveStack.java (diff)
The file was modifiedsrc/java/com/jogamp/common/util/FloatStack.java (diff)