changeset 4502:b3425b50bc36

7081796: (ch) rawtype warning in sun.nio.ch.InheritedChannel Reviewed-by: chegar
author alanb
date Mon, 22 Aug 2011 11:35:11 +0100
parents 8018d541a7b2
children 5c1f90dd0405 fd07a2b7bf4d
files src/solaris/classes/sun/nio/ch/InheritedChannel.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/solaris/classes/sun/nio/ch/InheritedChannel.java	Fri Aug 19 17:42:24 2011 -0700
+++ b/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);