changeset 10351:e2cef0ef9e28

7081796: (ch) rawtype warning in sun.nio.ch.InheritedChannel Reviewed-by: chegar
author alanb
date Mon, 22 Aug 2011 11:35:11 +0100
parents 6d009f117062
children edde66d3118f cab797d3592b
files jdk/src/solaris/classes/sun/nio/ch/InheritedChannel.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/solaris/classes/sun/nio/ch/InheritedChannel.java	Fri Aug 19 17:42:24 2011 -0700
+++ b/jdk/src/solaris/classes/sun/nio/ch/InheritedChannel.java	Mon Aug 22 11:35:11 2011 +0100
@@ -166,8 +166,8 @@
         // is implemented.
 
         Class paramTypes[] = { int.class };
-        Constructor ctr = Reflect.lookupConstructor("java.io.FileDescriptor",
-                                                    paramTypes);
+        Constructor<?> ctr = Reflect.lookupConstructor("java.io.FileDescriptor",
+                                                       paramTypes);
         Object args[] = { new Integer(fdVal) };
         FileDescriptor fd = (FileDescriptor)Reflect.invoke(ctr, args);