This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: newlib and the use of fcntl by java
- From: Tom Tromey <tromey at redhat dot com>
- To: Richard dot Earnshaw at arm dot com
- Cc: Michael Koch <konqueror at gmx dot de>, Andrew Haley <aph at redhat dot com>, java at gcc dot gnu dot org, Andreas Tobler <toa at pop dot agri dot ch>
- Date: 25 Sep 2002 10:44:28 -0600
- Subject: Re: newlib and the use of fcntl by java
- References: <200209251632.g8PGWtl03413@pc960.cambridge.arm.com>
- Reply-to: tromey at redhat dot com
>>>>> "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"));
}