7081796: (ch) rawtype warning in sun.nio.ch.InheritedChannel

Reviewed-by: chegar
This commit is contained in:
Alan Bateman 2011-08-22 11:35:11 +01:00
parent 00983b3008
commit f072f34631

View File

@ -166,8 +166,8 @@ class InheritedChannel {
// 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);