gcc/libjava/include
Bryce McKinlay f404754042 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.

From-SVN: r40985
2001-04-01 12:16:40 +01:00
..
boehm-gc.h
config.h.in 1.3-Compliant Implementation of java.io.File. 2001-04-01 12:16:40 +01:00
default-signal.h
i386-signal.h i386-signal.h (INIT_SEGV): Use a direct system call to set the handler. 2001-02-15 19:19:50 +00:00
java-assert.h
java-chardecomp.h
java-chartables.h
java-cpool.h
java-insns.h
java-interp.h jni.cc (_Jv_JNI_GetAnyFieldID): Handle unresolved fields. 2001-03-23 19:15:44 +00:00
java-props.h
jni.h
jvm.h jni.cc (_Jv_JNI_GetAnyFieldID): Handle unresolved fields. 2001-03-23 19:15:44 +00:00
jvmpi.h
Makefile.am
Makefile.in configure: Rebuilt. 2001-03-21 18:43:03 +00:00
name-finder.h
no-gc.h
no-threads.h
posix-threads.h
posix.h
ppc-signal.h
sparc-signal.h
stamp-h.in
win32-signal.h
win32-threads.h