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]

[Patch] throwing SocketException from socket implementations


Hi list,


I wrote the attached patch to make our socket implementations more
compliant to SUNs impl by throwing java.net.SocketExceptions instead of
java.io.IOExceptions. This is the first half of fixes need for
PR libgcj/15430.

Ok to commit to trank ?


Michael


2005-01-17  Michael Koch  <konqueror@gmx.de>

	* gnu/java/net/natPlainDatagramSocketImplNoNet.cc,
	gnu/java/net/natPlainDatagramSocketImplPosix.cc,
	gnu/java/net/natPlainDatagramSocketImplWin32.cc,
	gnu/java/net/natPlainSocketImplNoNet.cc,
	gnu/java/net/natPlainSocketImplPosix.cc,
	gnu/java/net/natPlainSocketImplWin32.cc:
	Throw java.net.SocketException instead of java.io.IOException all
	over.

Attachment: net.diff
Description: Text document


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