summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util/PrimitiveStack.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-04-13 23:00:09 +0200
committerSven Gothel <[email protected]>2013-04-13 23:00:09 +0200
commit47333929fd4e563d61996654d2a435b52b904ef0 (patch)
tree712142b23921f20831403054f042f20f5245a702 /src/java/com/jogamp/common/util/PrimitiveStack.java
parent21fc00af1c404d93280e21d05efc124ec23d575b (diff)
Bug 715: Adding unit test w/ 'intArrayCopy(int *dest, int *src, int num)' to test array offset working correct.
The 'carray' pointer returned from GetPrimitiveArrayCritical(..) is moved about the array offset and used in ReleasePrimitiveArrayCritical(..) to release the pinpointed memory. Even though this 'is' a bug by violating the _sparse_ specification, Hotspot impl. doesn't use the value at all (NOP) and hence this code didn't produce an error since .. (Same w/ Dalvik). A followup commit will fix this issue.
Diffstat (limited to 'src/java/com/jogamp/common/util/PrimitiveStack.java')
0 files changed, 0 insertions, 0 deletions