diff options
author | Sven Gothel <[email protected]> | 2011-02-09 08:08:54 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2011-02-09 08:08:54 +0100 |
commit | 209253c301a0afa13a9edb3d68adb67040a7e619 (patch) | |
tree | 418834237f174b8114f88107340ab00fca1978cc /src/newt | |
parent | a43a3ee9106431ac089eee31b500211f775e684b (diff) |
Fix: Java 1.5 warnings
Diffstat (limited to 'src/newt')
-rw-r--r-- | src/newt/classes/jogamp/newt/WindowImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newt/classes/jogamp/newt/WindowImpl.java b/src/newt/classes/jogamp/newt/WindowImpl.java index 8dd4bc8e2..79679b7b3 100644 --- a/src/newt/classes/jogamp/newt/WindowImpl.java +++ b/src/newt/classes/jogamp/newt/WindowImpl.java @@ -2172,7 +2172,7 @@ public abstract class WindowImpl implements Window, NEWTEventConsumer Class[] argTypes = null; try { Method m = windowClass.getDeclaredMethod("getCustomConstructorArgumentTypes", new Class[] {}); - argTypes = (Class[]) m.invoke(null, null); + argTypes = (Class[]) m.invoke(null, (Object[])null); } catch (Throwable t) {} return argTypes; } |