aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarvey Harrison <[email protected]>2013-10-18 08:06:46 -0700
committerHarvey Harrison <[email protected]>2013-10-20 12:02:37 -0700
commit2e13993b57061e897889a3a6f4a1d44a19c32d11 (patch)
tree1f4c15796c8bb92542744ba70e782e962ee5fca0
parent946e0b59847de43d3dd51080abe7b9703d431e5f (diff)
jogl: remove clone() method that only throws Exceptions
commit: a4e3f241cfba55e407c68eba91ffcc4beb0758b5 (Analysis of glXMakeCurrent freeze on ATI fglrx 8.78.6; Misc ..) Removed 'implements Clonable' from NamedDisplay, which means Object.clone() will always throw CloneNotSupportedException. Kill clone(). Signed-off-by: Harvey Harrison <[email protected]>
-rw-r--r--src/nativewindow/classes/jogamp/nativewindow/x11/X11Util.java5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/nativewindow/classes/jogamp/nativewindow/x11/X11Util.java b/src/nativewindow/classes/jogamp/nativewindow/x11/X11Util.java
index 2576c7db1..02e43791c 100644
--- a/src/nativewindow/classes/jogamp/nativewindow/x11/X11Util.java
+++ b/src/nativewindow/classes/jogamp/nativewindow/x11/X11Util.java
@@ -326,11 +326,6 @@ public class X11Util implements ToolkitProperties {
public final Throwable getCreationStack() { return creationStack; }
@Override
- public Object clone() throws CloneNotSupportedException {
- return super.clone();
- }
-
- @Override
public String toString() {
return "NamedX11Display["+name+", 0x"+Long.toHexString(handle)+", refCount "+refCount+", unCloseable "+unCloseable+"]";
}