diff options
author | Harvey Harrison <[email protected]> | 2012-10-16 00:21:43 -0700 |
---|---|---|
committer | Harvey Harrison <[email protected]> | 2012-10-16 00:21:43 -0700 |
commit | 4309d1334a2b036c7bf15612199bb7391a57980b (patch) | |
tree | 86e41d5d85b4e76af656aae4b920eb5bbdfc1762 /src/java/jogamp/common/util | |
parent | 28410cfb398b510b4f748f3a1134dd13dae9f7c4 (diff) |
gluegen: replace Thread name with name of lock file in SingletonInstanceFileLock error message
The getName() call here is currently calling Thread.getName() inherited by the
anonymous inner class. This is ambiguous, and likely meant to call the getName()
method of SingletonInstanceFileLock, which would output the lockfile name.
In any event, infoPrefix() is already adding the Thread name for us.
Signed-off-by: Harvey Harrison <[email protected]>
Diffstat (limited to 'src/java/jogamp/common/util')
-rw-r--r-- | src/java/jogamp/common/util/locks/SingletonInstanceFileLock.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/java/jogamp/common/util/locks/SingletonInstanceFileLock.java b/src/java/jogamp/common/util/locks/SingletonInstanceFileLock.java index a76f261..42d125a 100644 --- a/src/java/jogamp/common/util/locks/SingletonInstanceFileLock.java +++ b/src/java/jogamp/common/util/locks/SingletonInstanceFileLock.java @@ -80,7 +80,7 @@ public class SingletonInstanceFileLock extends SingletonInstance { @Override public void run() { if(isLocked()) { - System.err.println(infoPrefix()+" XXX "+getName()+" - Unlock @ JVM Shutdown"); + System.err.println(infoPrefix()+" XXX "+SingletonInstanceFileLock.this.getName()+" - Unlock @ JVM Shutdown"); } unlock(); } |