RFC: Moving native code in java.net into architecture dependant files

Michael Koch konqueror@gmx.de
Fri Mar 14 08:49:00 GMT 2003


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

Hi list,


Here is a patch which moves the native code of java.net into 
architecture dependant files for better/easier maintaining, as 
requested by several people.

For the "posix" target the files are slightly edit versions of the 
originals. Only the #ifdefs for "win32" are removed.

For the "win32" target the files are same as before. Out Windows 
specialists should take care of them. I dont know enough about it.

For the "ecos" target (do we really need it ?) all methods are just 
there. They are mostly throwing exceptions indicating they are 
unimplemented. Some are just returning default values.

Question: Is it useful to point to "ecos" for the native java.net code 
when DISABLE_JAVA_NET is defined ? This would make the code in the 
"posix" target a little bit clearer. Any ideas for this ?

The attached patch doesnt remove the old files but they will be remove 
when committing.


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

iD8DBQE+cZXFWSOgCCdjSDsRAvaGAJwP+mmhjQMJTML/JqwpRvGpv3vHjgCgh1kQ
LJflf3BdTW7522Km+jerC7U=
=oYNA
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arch.diff
Type: text/x-diff
Size: 142432 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20030314/580ddab9/attachment.bin>


More information about the Java-patches mailing list