This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: libjava embedded builds broken *again*
- From: Krister Walfridsson <cato at df dot lth dot se>
- To: Richard dot Earnshaw at arm dot com
- Cc: Michael Koch <konqueror at gmx dot de>, <java-patches at gcc dot gnu dot org>
- Date: Thu, 20 Feb 2003 19:30:04 +0100 (MET)
- Subject: Re: libjava embedded builds broken *again*
On Thu, 20 Feb 2003, Richard Earnshaw wrote:
> > I commit now a fix to libjava/gnu/java/nio/natSocketChannelImpl.cc.
> > Please try it on your platform and tell me netgative and positive
> > things.
> >
>
> Doesn't fix things. It still dies as follows:
It looks like the test was reversed. The patch below makes it build just
fine for me (on arm-elf).
/Krister
2003-02-20 Krister Walfridsson <cato at df dot lth dot se>
* gnu/java/nio/natSocketChannelImpl.cc (DISABLE_JAVA_NET):
Invert test.
Index: natSocketChannelImpl.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/gnu/java/nio/natSocketChannelImpl.cc,v
retrieving revision 1.3
diff -c -r1.3 natSocketChannelImpl.cc
*** natSocketChannelImpl.cc 20 Feb 2003 07:24:37 -0000 1.3
--- natSocketChannelImpl.cc 20 Feb 2003 18:24:14 -0000
***************
*** 20,26 ****
#include <java/net/SocketException.h>
! #ifndef DISABLE_JAVA_NET
jint
gnu::java::nio::SocketChannelImpl::SocketCreate ()
--- 20,26 ----
#include <java/net/SocketException.h>
! #ifdef DISABLE_JAVA_NET
jint
gnu::java::nio::SocketChannelImpl::SocketCreate ()