diff options
author | Sven Gothel <[email protected]> | 2015-08-29 19:41:10 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2015-08-29 19:41:10 +0200 |
commit | 7140081033444abf95d2f8289eaa62ead41cf2e0 (patch) | |
tree | 1a17920812a67f748b669ad8fc64b1d4b8523431 /src/jogl/classes/jogamp/opengl/x11/glx | |
parent | 472d97e821520235eb006f3c135df2f629494326 (diff) |
*AnimatorImpl: Catch concurrent pulling of GLAutoDrawable instances
It may happen that an GLAutoDrawable is being pulled concurrently from the
animators list, in which case an IndexOutOfBoundsException might be thrown.
Example:
[junit] *** AWTRobotUtil: UncaughtException (this Thread main-AWTAnimator#00) : Thread <main-AWTAnimator#00>, java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
[junit] java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
[junit] at java.util.ArrayList.rangeCheck(ArrayList.java:653)
[junit] at java.util.ArrayList.get(ArrayList.java:429)
[junit] at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:68)
[junit] at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:451)
[junit] at com.jogamp.opengl.util.Animator$MainLoop.run(Animator.java:198)
[junit] at java.lang.Thread.run(Thread.java:745)
Diffstat (limited to 'src/jogl/classes/jogamp/opengl/x11/glx')
0 files changed, 0 insertions, 0 deletions