summaryrefslogtreecommitdiffstats
path: root/src/java/jogamp/android
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2013-04-03 23:55:16 -0700
committerHarvey Harrison <[email protected]>2013-04-03 23:55:16 -0700
commitd721e4f356d2cb272b0eb47829220a5b2b23c2dc (patch)
treeee7ad12dec3ca9a3428c0091484411a811f149c5 /src/java/jogamp/android
parentd70f55e63c38331486249bdfdbd1234ce4bbeb09 (diff)
gluegen: use enhanced for-loops in ArrayHashSet
Fixes an infinite loop in addAll due to the following line: mod = mod || add(iter.next()) ; After the first successful add, mod will be true and thereafter iter.next will never be called again, due to || shortcutting. the loop will then run forever as any further elements will never be taken from the iterator, so hasNext will always be true. Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/java/jogamp/android')
0 files changed, 0 insertions, 0 deletions