libjava embedded builds broken *again*

Krister Walfridsson cato@df.lth.se
Thu Feb 20 18:30:00 GMT 2003


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@df.lth.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 ()




More information about the Java-patches mailing list