summaryrefslogtreecommitdiffstats
path: root/make/gluegen-properties.xml
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2013-04-13 23:04:01 +0200
committerSven Gothel <[email protected]>2013-04-13 23:04:01 +0200
commit86f5e7eac7544d2511b70c2142634c89c69d0594 (patch)
treed08a924d21039be71b1ca45d5dfea3a6df024687 /make/gluegen-properties.xml
parent47333929fd4e563d61996654d2a435b52b904ef0 (diff)
Fix Bug 715: Don't modify 'carray' pointer returned from GetPrimitiveArrayCritical(..)
The 'carray' pointer returned from GetPrimitiveArrayCritical(..) was 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). Now the array offset is added while passing the carray pointer to the native function call and hence is no more modified and the orig. value is passed to ReleasePrimitiveArrayCritical(..). Tested w/ GlueGen unit tests and all JOGL unit tests (on Linux x64 w/ 'a' hotspot VM).
Diffstat (limited to 'make/gluegen-properties.xml')
0 files changed, 0 insertions, 0 deletions