diff options
author | Sven Gothel <[email protected]> | 2011-03-27 00:17:54 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-03-27 00:17:54 +0100 |
commit | d0ebd83bd8ec6ba625f700273766f5f6472466c5 (patch) | |
tree | c121a6d6ca4b20ff2b8148e10148623c6f723710 /src/nativewindow/classes/jogamp | |
parent | 9b392f22be7721e6713844c708812e072c7597a1 (diff) | |
parent | aa789b25e9a0a592de0a69861e9ffea26edb7adf (diff) |
Merge remote-tracking branch 'wwalker/2011-03-24-fix-JAWTUtil-NPE'
Diffstat (limited to 'src/nativewindow/classes/jogamp')
-rw-r--r-- | src/nativewindow/classes/jogamp/nativewindow/jawt/JAWTUtil.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nativewindow/classes/jogamp/nativewindow/jawt/JAWTUtil.java b/src/nativewindow/classes/jogamp/nativewindow/jawt/JAWTUtil.java index 80dd5c402..044f02dca 100644 --- a/src/nativewindow/classes/jogamp/nativewindow/jawt/JAWTUtil.java +++ b/src/nativewindow/classes/jogamp/nativewindow/jawt/JAWTUtil.java @@ -102,9 +102,9 @@ public class JAWTUtil { PrivilegedDataBlob1 d = new PrivilegedDataBlob1(); try { d.sunToolkitClass = Class.forName("sun.awt.SunToolkit"); - d.sunToolkitAWTLockMethod = sunToolkitClass.getDeclaredMethod("awtLock", new Class[]{}); + d.sunToolkitAWTLockMethod = d.sunToolkitClass.getDeclaredMethod("awtLock", new Class[]{}); d.sunToolkitAWTLockMethod.setAccessible(true); - d.sunToolkitAWTUnlockMethod = sunToolkitClass.getDeclaredMethod("awtUnlock", new Class[]{}); + d.sunToolkitAWTUnlockMethod = d.sunToolkitClass.getDeclaredMethod("awtUnlock", new Class[]{}); d.sunToolkitAWTUnlockMethod.setAccessible(true); d.ok=true; } catch (Exception e) { |