diff options
author | Sven Gothel <sgothel@jausoft.com> | 2011-02-09 08:08:54 +0100 |
---|---|---|
committer | Sven Gothel <sgothel@jausoft.com> | 2011-02-09 08:08:54 +0100 |
commit | 209253c301a0afa13a9edb3d68adb67040a7e619 (patch) | |
tree | 418834237f174b8114f88107340ab00fca1978cc /src/nativewindow/classes/javax/media | |
parent | a43a3ee9106431ac089eee31b500211f775e684b (diff) |
Fix: Java 1.5 warnings
Diffstat (limited to 'src/nativewindow/classes/javax/media')
-rw-r--r-- | src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java index d0df41794..b0f5cb3f9 100644 --- a/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java +++ b/src/nativewindow/classes/javax/media/nativewindow/NativeWindowFactory.java @@ -189,7 +189,7 @@ public abstract class NativeWindowFactory { public Object run() { try { jawtUtilClass = Class.forName(JAWTUtilClassName, false, NativeWindowFactory.class.getClassLoader()); - jawtUtilInitMethod = jawtUtilClass.getDeclaredMethod("initSingleton", null); + jawtUtilInitMethod = jawtUtilClass.getDeclaredMethod("initSingleton", (Class[])null); jawtUtilInitMethod.setAccessible(true); jawtUtilGetJAWTToolkitMethod = jawtUtilClass.getDeclaredMethod("getJAWTToolkitLock", new Class[]{}); jawtUtilGetJAWTToolkitMethod.setAccessible(true); |