From 1604f2341e496b380fbb3cf8d1e0134d947d8536 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 14 Feb 2013 01:48:54 +0100 Subject: Fix FunctionTask's run()/eval(..) return value assignment: Ensure it's done before syncObject.notifyAll() ; Make methods final Fixes commit b387d012103a02eb7d5eb919306583295ef09a38. --- src/java/com/jogamp/common/util/RunnableTask.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/java/com/jogamp/common/util/RunnableTask.java') diff --git a/src/java/com/jogamp/common/util/RunnableTask.java b/src/java/com/jogamp/common/util/RunnableTask.java index 6a4ccb3..5d9441a 100644 --- a/src/java/com/jogamp/common/util/RunnableTask.java +++ b/src/java/com/jogamp/common/util/RunnableTask.java @@ -78,12 +78,12 @@ public class RunnableTask extends TaskBase { } /** Return the user action */ - public Runnable getRunnable() { + public final Runnable getRunnable() { return runnable; } @Override - public void run() { + public final void run() { tStarted = System.currentTimeMillis(); if(null == syncObject) { try { -- cgit v1.2.3