newlib and the use of fcntl by java

Tom Tromey tromey@redhat.com
Wed Sep 25 09:48:00 GMT 2002


>>>>> "Richard" == Richard Earnshaw <rearnsha@arm.com> writes:

Richard> Isn't valid because SocketException is part of java::net, not
Richard> java::io
Richard> Have you tested the code with DISABLE_JAVA_NET?
Please try the appended.
If it works for you I will check it in.
Tom
Index: ChangeLog
from Tom Tromey <tromey@redhat.com>
	* java/net/natPlainDatagramSocketImpl.cc (connect):
	SocketException is in java.net.
	(disconnect): Likewise.
Index: java/net/natPlainDatagramSocketImpl.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/natPlainDatagramSocketImpl.cc,v
retrieving revision 1.47
diff -u -r1.47 natPlainDatagramSocketImpl.cc
--- java/net/natPlainDatagramSocketImpl.cc 25 Sep 2002 05:05:06 -0000 1.47
+++ java/net/natPlainDatagramSocketImpl.cc 25 Sep 2002 16:42:10 -0000
@@ -89,14 +89,14 @@
 void
 java::net::PlainDatagramSocketImpl::connect (java::net::InetAddress *, jint)
 {
- throw new java::io::SocketException (
+ throw new SocketException (
 JvNewStringLatin1 ("DatagramSocketImpl.connect: unimplemented"));
 }
 
 void
 java::net::PlainDatagramSocketImpl::disconnect ()
 {
- throw new java::io::SocketException (
+ throw new SocketException (
 JvNewStringLatin1 ("DatagramSocketImpl.disconnect: unimplemented"));
 }
 


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /