diff options
author | Kenneth Russel <[email protected]> | 2006-03-26 19:14:31 +0000 |
---|---|---|
committer | Kenneth Russel <[email protected]> | 2006-03-26 19:14:31 +0000 |
commit | f0b02d11a0e0236013c861ce44add80c1395d196 (patch) | |
tree | 388f1948ee219f5df8c66d5f7d124f8e4583db99 /src/classes/com/sun/opengl/impl | |
parent | f2ee297ae01c0a5997c285d882748a711786ddd1 (diff) |
Fixed bug pointed out by Matt Abraham where a thrown exception from
the GLWorkerThread would be repeatedly thrown
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@687 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'src/classes/com/sun/opengl/impl')
-rwxr-xr-x | src/classes/com/sun/opengl/impl/GLWorkerThread.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/classes/com/sun/opengl/impl/GLWorkerThread.java b/src/classes/com/sun/opengl/impl/GLWorkerThread.java index 57938c8bc..b110e4335 100755 --- a/src/classes/com/sun/opengl/impl/GLWorkerThread.java +++ b/src/classes/com/sun/opengl/impl/GLWorkerThread.java @@ -167,7 +167,9 @@ public class GLWorkerThread { lockTemp.notifyAll(); lockTemp.wait(); if (exception != null) { - throw new InvocationTargetException(exception); + Throwable localException = exception; + exception = null; + throw new InvocationTargetException(localException); } } } |