diff options
author | Sven Gothel <[email protected]> | 2014-10-26 02:22:50 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2014-10-26 02:22:50 +0100 |
commit | 74fe4c340162e973e86c0e405de915cea8c72ec4 (patch) | |
tree | b091c707e9532ee8bd085c326a080f2a71f59386 /src/nativewindow/classes/javax/media | |
parent | 729f4ef2d7e1bbb2748d71998046818aeabcd558 (diff) |
Use ExceptionUtils.dumpStack(..) instead of Thread.dumpStack()
Diffstat (limited to 'src/nativewindow/classes/javax/media')
-rw-r--r-- | src/nativewindow/classes/javax/media/nativewindow/GraphicsConfigurationFactory.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/GraphicsConfigurationFactory.java b/src/nativewindow/classes/javax/media/nativewindow/GraphicsConfigurationFactory.java index 3f8113baa..c73f544b0 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/GraphicsConfigurationFactory.java +++ b/src/nativewindow/classes/javax/media/nativewindow/GraphicsConfigurationFactory.java @@ -33,7 +33,9 @@ package javax.media.nativewindow; +import com.jogamp.common.ExceptionUtils; import com.jogamp.common.util.ReflectionUtil; + import jogamp.nativewindow.Debug; import jogamp.nativewindow.DefaultGraphicsConfigurationFactoryImpl; @@ -226,7 +228,7 @@ public abstract class GraphicsConfigurationFactory { throw new IllegalArgumentException("Given capabilities class must implement CapabilitiesImmutable"); } if(DEBUG) { - Thread.dumpStack(); + ExceptionUtils.dumpStack(System.err); System.err.println("GraphicsConfigurationFactory.getFactory: "+deviceType.getName()+", "+capabilitiesType.getName()); dumpFactories(); } |