diff options
author | Harvey Harrison <[email protected]> | 2013-04-03 23:55:16 -0700 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2013-04-03 23:55:16 -0700 |
commit | d721e4f356d2cb272b0eb47829220a5b2b23c2dc (patch) | |
tree | ee7ad12dec3ca9a3428c0091484411a811f149c5 /make/resources/assets-launcher/jogamp/launcher | |
parent | d70f55e63c38331486249bdfdbd1234ce4bbeb09 (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 'make/resources/assets-launcher/jogamp/launcher')
0 files changed, 0 insertions, 0 deletions