This is the mail archive of the gcc-prs@gcc.gnu.org mailing list for the GCC project.


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

libgcj/1759


The following reply was made to PR libgcj/1759; it has been noted by GNATS.

From: bryce@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org
Cc:  
Subject: libgcj/1759
Date: 1 Apr 2001 11:16:41 -0000

 CVSROOT:	/cvs/gcc
 Module name:	egcs
 Changes by:	bryce@gcc.gnu.org	2001-04-01 04:16:41
 
 Modified files:
 	libjava        : ChangeLog configure.in configure 
 	libjava/include: config.h.in 
 	libjava/java/io: File.java natFile.cc natFileWin32.cc 
 	libjava/java/lang: natSystem.cc 
 
 Log message:
 	1.3-Compliant Implementation of java.io.File.
 	* java/lang/natSystem.cc (init_properties): Get "file.separator",
 	"path.separator", and "java.io.tmpdir" from the File class, instead
 	of setting them explicitly.
 	* java/io/File.java: Do not canonicalize paths for security manager
 	checks. Call init_native() from static initializer. Do not pass path
 	argument to native methods. New native method declarations. Some
 	security manager checks moved to checkWrite().
 	(equals): Check file system case sensitivity and act appropriatly.
 	(hashCode): Likewise.
 	(isHidden): New method implemented.
 	(performList): Changed prototype. Now takes a class argument specifying
 	the class of the returned array: Strings or File objects. Also added
 	FileFilter argument.
 	(listFiles): New variants with "File" return type implemented.
 	(createTempFile): Use createNewFile(). Use maxPathLen.
 	(setReadOnly): New method implemented.
 	(listRoots): Likewise.
 	(compareTo): Likewise.
 	(setLastModified): Likewise.
 	(checkWrite): New method.
 	(setPath): Removed.
 	* java/io/natFile.cc: Various functions no longer take canonical path
 	argument.
 	(stat): Handle ISHIDDEN query.
 	(isAbsolute): Remove WIN32 cruft.
 	(performList): New arguments. Handle returning either File[] or
 	String[] arrays. Check with FileFilter or FilenameFilter arguments as
 	appropriate. Use an ArrayList, not a Vector, for the temporary list.
 	(performSetReadOnly): New method implemented.
 	(performListRoots): Likewise.
 	(performSetLastModified): Likewise.
 	(performCreate): Likewise.
 	(init_native): New initialization function.
 	* java/io/natFileWin32.cc: Various functions no longer take canonical
 	path argument.
 	(stat): Add FIXME about ISHIDDEN query.
 	(performList): New arguments. Handle returning either File[] or String[]
 	arrays. Check with FileFilter or FilenameFilter arguments as
 	appropriate. Use an ArrayList, not a Vector, for the temporary list.
 	(performSetReadOnly): New. Stubbed.
 	(performListRoots): Likewise.
 	(performSetLastModified): Likewise.
 	(performCreate): Likewise.
 	(init_native) New initialization function.
 	* configure.in: Check for utime() and chmod().
 	* configure: Rebuilt.
 	* include/config.h.in: Rebuilt.
 	
 	Resolves PR libgcj/1759.
 
 Patches:
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/libjava/ChangeLog.diff?cvsroot=gcc&r1=1.730&r2=1.731
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/libjava/configure.in.diff?cvsroot=gcc&r1=1.76&r2=1.77
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/libjava/configure.diff?cvsroot=gcc&r1=1.81&r2=1.82
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/libjava/include/config.h.in.diff?cvsroot=gcc&r1=1.27&r2=1.28
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/libjava/java/io/File.java.diff?cvsroot=gcc&r1=1.15&r2=1.16
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/libjava/java/io/natFile.cc.diff?cvsroot=gcc&r1=1.8&r2=1.9
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/libjava/java/io/natFileWin32.cc.diff?cvsroot=gcc&r1=1.2&r2=1.3
 http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/libjava/java/lang/natSystem.cc.diff?cvsroot=gcc&r1=1.36&r2=1.37
 


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