Patch: Moving native methods fo java.io.File into java.io.VMFile

Michael Koch konqueror@gmx.de
Tue Sep 21 05:35:00 GMT 2004


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

Hi list,


I have written the attached patch to move the native methods from 
java.io.File to java.ioVMFile. This allows us merging java.io.File 
with GNU classpath. This is important to merge fixes fast in both 
directions. GNU classpath has some fixes (security and file 
truncation) which are still not completely merge because of the 
current differences.

Mohan Embar has helped with the Win32 part of the code. He bugfixed 
and tested my changes to it.

Andreas Tobler has tested the patch on his multiple platforms with 
mauve. Some Mauve tests are sometimes failing and sometimes passes 
(Even before this patch). I will investigate this when the patch is 
in.

Okay to commit to trunk ?


Michael


2004-09-15  Michael Koch  <konqueror@gmx.de>
	    Mohan Embar  <gnustuff@thisiscool.com>

	* java/io/File.java: Moved all native methods to VMFile.
	* java/io/VMFile.java: New file.
	* gcj/javaprims.h: Added java.io.VMFile class.
	* java/io/natFilePosix.cc, java/io/natFileWin32.cc:
	Moved all methods to java.io.VMFile class.
	* Makefile.am: Added java/io/VMFile.java.
	* Makefile.in: Regenerated.
- -- 
Homepage: http://www.worldforge.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBSD1sWSOgCCdjSDsRAvkXAJwJ9xx989YNgBFoaVXneysCkivDdgCggPs5
bT1LXEa0hhUlQX5eF2RQGTo=
=/6rM
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: file.diff
Type: text/x-diff
Size: 36887 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20040921/93b3030e/attachment.bin>


More information about the Java-patches mailing list