This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gnu.java.net.PlainSocketImpl clean-up


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.

Attachment: SocketImpl.patch.txt
Description: Text document



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]