< prev index next >

src/java.base/unix/classes/sun/nio/ch/InheritedChannel.java

Print this page
rev 14117 : 8145468: update java.lang APIs with new deprecations
Reviewed-by: XXX

*** 166,176 **** // is implemented. Class<?> paramTypes[] = { int.class }; Constructor<?> ctr = Reflect.lookupConstructor("java.io.FileDescriptor", paramTypes); ! Object args[] = { new Integer(fdVal) }; FileDescriptor fd = (FileDescriptor)Reflect.invoke(ctr, args); // Now create the channel. If the socket is a streams socket then // we see if tthere is a peer (ie: connected). If so, then we --- 166,176 ---- // is implemented. Class<?> paramTypes[] = { int.class }; Constructor<?> ctr = Reflect.lookupConstructor("java.io.FileDescriptor", paramTypes); ! Object args[] = { Integer.valueOf(fdVal) }; FileDescriptor fd = (FileDescriptor)Reflect.invoke(ctr, args); // Now create the channel. If the socket is a streams socket then // we see if tthere is a peer (ie: connected). If so, then we
< prev index next >