gnu.java.net.PlainSocketImpl clean-up

Bryce McKinlay bryce@mckinlay.net.nz
Wed Sep 24 05:38:00 GMT 2003


This patch cleans up PlainSocketImpl by "moving" its native read() and 
write() I/O methods from PlainSocketImpl to 
PlainSocketImpl.SocketInputStream & SocketOutputStream, and removing a 
couple of redundant overrides in the process. This removes an 
unnecessary layer of calls because previously the I/O methods in the 
stream classes called back to the native equivalents in PlainSocketImpl.

Bryce.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: SocketImpl.patch.txt
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20030924/744532da/attachment.txt>
-------------- next part --------------



More information about the Java-patches mailing list