From 209253c301a0afa13a9edb3d68adb67040a7e619 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Wed, 9 Feb 2011 08:08:54 +0100 Subject: Fix: Java 1.5 warnings --- src/newt/classes/jogamp/newt/WindowImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newt') 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; } -- cgit v1.2.3