gcc/libjava/java/io
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
..
BufferedInputStream.java
BufferedOutputStream.java
BufferedReader.java PipedReader.java (ready): Throw IOException if pipe closed. 2001-02-13 18:55:13 +00:00
BufferedWriter.java PipedWriter.java (flush): Throw exception if stream closed. 2001-02-20 19:01:55 +00:00
ByteArrayInputStream.java CharArrayReader.java (CharArrayReader): Throw IllegalArgumentException if constructor arguments are illegal. 2001-02-19 05:37:28 +00:00
ByteArrayOutputStream.java
CharArrayReader.java CharArrayReader.java (CharArrayReader): Throw IllegalArgumentException if constructor arguments are illegal. 2001-02-19 05:37:28 +00:00
CharArrayWriter.java PipedWriter.java (flush): Throw exception if stream closed. 2001-02-20 19:01:55 +00:00
CharConversionException.java
DataInput.java
DataInputStream.java Remerge with Classpath (changes by Bryce McKinlay <bryce@albatross.co.nz>) 2001-02-17 15:09:46 +00:00
DataOutput.java
DataOutputStream.java
EOFException.java
Externalizable.java
File.java 1.3-Compliant Implementation of java.io.File. 2001-04-01 12:16:40 +01:00
FileDescriptor.java
FileFilter.java
FileInputStream.java
FilenameFilter.java
FileNotFoundException.java
FileOutputStream.java
FilePermission.java
FileReader.java
FileWriter.java
FilterInputStream.java
FilterOutputStream.java
FilterReader.java PipedReader.java (ready): Throw IOException if pipe closed. 2001-02-13 18:55:13 +00:00
FilterWriter.java
InputStream.java
InputStreamReader.java
InterruptedIOException.java
InvalidClassException.java
InvalidObjectException.java
IOException.java
LineNumberInputStream.java
LineNumberReader.java
natFile.cc 1.3-Compliant Implementation of java.io.File. 2001-04-01 12:16:40 +01:00
natFileDescriptorEcos.cc exception.cc (java_eh_info): Make value type jthrowable. 2001-03-25 23:05:32 -08:00
natFileDescriptorPosix.cc exception.cc (java_eh_info): Make value type jthrowable. 2001-03-25 23:05:32 -08:00
natFileDescriptorWin32.cc exception.cc (java_eh_info): Make value type jthrowable. 2001-03-25 23:05:32 -08:00
natFileWin32.cc 1.3-Compliant Implementation of java.io.File. 2001-04-01 12:16:40 +01:00
natObjectInputStream.cc
natObjectOutputStream.cc
NotActiveException.java
NotSerializableException.java
ObjectInput.java
ObjectInputStream.java BlockDataException.java: Removed. 2001-02-13 07:42:48 +00:00
ObjectInputValidation.java
ObjectOutput.java
ObjectOutputStream.java
ObjectStreamClass.java re PR libgcj/1971 (ObjectOutputStream generates incorrect serialVersionUID's for array classes) 2001-03-09 01:35:54 +00:00
ObjectStreamConstants.java
ObjectStreamException.java
ObjectStreamField.java
OptionalDataException.java
OutputStream.java
OutputStreamWriter.java PipedWriter.java (flush): Throw exception if stream closed. 2001-02-20 19:01:55 +00:00
PipedInputStream.java
PipedOutputStream.java
PipedReader.java PipedReader.java (ready): Throw IOException if pipe closed. 2001-02-13 18:55:13 +00:00
PipedWriter.java PipedWriter.java (flush): Throw exception if stream closed. 2001-02-20 19:01:55 +00:00
PrintStream.java
PrintWriter.java DataInputStream.java: update copyright notice 2001-02-17 13:59:13 +00:00
PushbackInputStream.java
PushbackReader.java
RandomAccessFile.java
Reader.java DataInputStream.java: update copyright notice 2001-02-17 13:59:13 +00:00
SequenceInputStream.java
Serializable.java
SerializablePermission.java
StreamCorruptedException.java
StreamTokenizer.java DataInputStream.java: update copyright notice 2001-02-17 13:59:13 +00:00
StringBufferInputStream.java
StringReader.java DataInputStream.java: update copyright notice 2001-02-17 13:59:13 +00:00
StringWriter.java
SyncFailedException.java
UnsupportedEncodingException.java
UTFDataFormatException.java
WriteAbortedException.java
Writer.java