mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-26 21:38:10 +00:00
7081796: (ch) rawtype warning in sun.nio.ch.InheritedChannel
Reviewed-by: chegar
This commit is contained in:
parent
00983b3008
commit
f072f34631
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user