diff options
author | Sven Gothel <[email protected]> | 2013-03-18 03:00:45 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2013-03-18 03:00:45 +0100 |
commit | b1eb7ca6b9d7dec7ff62c1f1e8ef0a0545724d2f (patch) | |
tree | fd1bb8c41eb1d338bf3185b339a92d583753a39f /src/junit/com/jogamp/common/util | |
parent | 1a4514accc8f61ab7ff5fe8c82d22a5ef356c865 (diff) |
Function- RunnableTask: Add PrintStream 'exceptionOut' argument allowing non blocking exceptions to be shown.
Exceptions occuring on non blocking off-thread tasks shall at least be made visible
while not allowed to crash the system.
Diffstat (limited to 'src/junit/com/jogamp/common/util')
-rw-r--r-- | src/junit/com/jogamp/common/util/TestRunnableTask01.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/junit/com/jogamp/common/util/TestRunnableTask01.java b/src/junit/com/jogamp/common/util/TestRunnableTask01.java index 272684d..6274294 100644 --- a/src/junit/com/jogamp/common/util/TestRunnableTask01.java +++ b/src/junit/com/jogamp/common/util/TestRunnableTask01.java @@ -80,7 +80,7 @@ public class TestRunnableTask01 extends JunitTracer { } }; - final RunnableTask rTask = new RunnableTask(clientAction, new Object(), false); + final RunnableTask rTask = new RunnableTask(clientAction, new Object(), false, null); System.err.println("BB.0: "+rTask.getSyncObject()); synchronized (rTask.getSyncObject()) { System.err.println("BB.1: "+rTask.getSyncObject()); |