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]

Re: RFC: Moving native code in java.net into architecture dependant files - updated patch


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am Montag, 24. März 2003 12:27 schrieb Richard Earnshaw:
>  2003-03-17  Michael Koch  <konqueror at gmx dot de>
>
> +	* configure.in: Create links to architecture dependent files,
> +	introduced PLATFORMNET variable (set to NoNet for newlib usage).
> +	* configure: Regenerated.
> +	* java/net/natInetAddressNoNet.cc,
> +	java/net/natInetAddressPosix.cc,
> +	java/net/natInetAddressWin32.cc,
> +	java/net/natNetworkInterfaceNoNet.cc,
> +	java/net/natNetworkInterfacePosix.cc,
> +	java/net/natNetworkInterfaceWin32.cc,
> +	java/net/natPlainDatagramSocketImplNoNet.cc,
> +	java/net/natPlainDatagramSocketImplPosix.cc,
> +	java/net/natPlainDatagramSocketImplWin32.cc,
> +	java/net/natPlainSocketImplNoNet.cc,
> +	java/net/natPlainSocketImplPosix.cc,
> +	java/net/natPlainSocketImplWin32.cc: New files.

I hate that news.

I have made a patch for you. Can you please test it and tell me if its 
wourking now ?


Michael
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+fvRYWSOgCCdjSDsRAoMGAJ0dhJaENSQDnGloB0XrJcm+QoAokwCfaBlR
XpdRvYrjhWcDJ6hih3ZroAs=
=iZJp
-----END PGP SIGNATURE-----
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/libjava/ChangeLog,v
retrieving revision 1.1806
diff -u -r1.1806 ChangeLog
--- ChangeLog	24 Mar 2003 08:27:27 -0000	1.1806
+++ ChangeLog	24 Mar 2003 12:01:14 -0000
@@ -1,5 +1,12 @@
 2003-03-24  Michael Koch  <konqueror at gmx dot de>
 
+	* java/net/natInetAddressNoNet.cc:
+	Include stddef.h.
+	* java/net/natPlainDatagramSocketImplNoNet.cc:
+	Include gcj/cni.h and fix inlcude of java/net/DatagramPacket.h.
+
+2003-03-24  Michael Koch  <konqueror at gmx dot de>
+
 	* java/io/DataInputStream.java
 	(): Wrapped documentation line.
 	(): Fixed @return tag.
Index: java/net/natInetAddressNoNet.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/natInetAddressNoNet.cc,v
retrieving revision 1.1
diff -u -r1.1 natInetAddressNoNet.cc
--- java/net/natInetAddressNoNet.cc	18 Mar 2003 06:01:16 -0000	1.1
+++ java/net/natInetAddressNoNet.cc	24 Mar 2003 12:01:14 -0000
@@ -7,6 +7,7 @@
 details.  */
 
 #include <config.h>
+#include <stddef.h>
 
 #include <java/net/InetAddress.h>
 
Index: java/net/natPlainDatagramSocketImplNoNet.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/net/natPlainDatagramSocketImplNoNet.cc,v
retrieving revision 1.1
diff -u -r1.1 natPlainDatagramSocketImplNoNet.cc
--- java/net/natPlainDatagramSocketImplNoNet.cc	18 Mar 2003 06:01:16 -0000	1.1
+++ java/net/natPlainDatagramSocketImplNoNet.cc	24 Mar 2003 12:01:14 -0000
@@ -9,10 +9,11 @@
 #include <config.h>
 #include <platform.h>
 
+#include <gcj/cni.h>
 #include <java/io/IOException.h>
 #include <java/lang/Object.h>
 #include <java/net/BindException.h>
-#include <java/net/DatagramPacketInetAddress.h>
+#include <java/net/DatagramPacket.h>
 #include <java/net/InetAddress.h>
 #include <java/net/NetworkInterface.h>
 #include <java/net/PlainDatagramSocketImpl.h>

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