gcc/libjava/java/io
Mark Wielaard 4480b3dcf6 Makefile.am (nat_source_files): Remove java/io/natObjectOutputStream.cc.
* Makefile.am (nat_source_files): Remove
        java/io/natObjectOutputStream.cc.
        * Makefile.in: Regenerated.
        * mauve-libgcj: Don't exclude java.io.ObjectInputOutput tests.
        * java/io/ObjectStreamField.java (typename): New field.
        (ObjectStreamField(String, Class)): Initialize new field.
        (ObjectStreamField(String, String)): New Constructor.
        (getTypeCode): Use new field.
        (getTypeString): Use new field.
        * java/io/ObjectOutputStream.java (writeObject): Rethrow fatal
        ObjectStreamExceptions. Remember and reset old BlockDataMode.
        Handle reading of Proxy classes. Never drain(), just write
        TC_ENDBLOCKDATA. Rethrow ObjectStreamExceptions.
        (drain): Check writeDataAsBlocks before calling writeBlockDataHeader.
        (flush): Call flush(), not just drain().
        (writeBoolean): Always use blockDataOutput.
        (writeByte): Likewise.
        (writeShort): Likewise.
        (writeChar): Likewise.
        (writeInt): Likewise.
        (writeLong): Likewise.
        (writeFloat): Likewise.
        (writeDouble): Likewise.
        (writeBytes): Likewise.
        (putfield (put(String,Object))): Throw IllegalArgumentException if
        field cannot be found.
        (putfield (write(ObjectOutput))): Remember old BlockDataMode.
        (writeArraySizeAndElements): Write byte[] in one go.
        (writeFields): Write TC_ENDBLOCKDATA when call_write_method, otherwise
        set BlockDataMode to false.
        (annotateProxyClass): New method.
        (defaultProtocolVersion): Now defaults to PROTOCOL_VERSION_2
        (getField): No longer native.
        (getMethod): Likewise.
        (setBlockDataMode): Always drain() on switch, return old mode.
        (static): New static code block.
        * java/io/natObjectOutputStream.cc: Removed.
        * java/io/ObjectInputStream.java (getField): No longer native.
        (getMethod): Likewise.
        (readObject): Remember and reset old BlockDataMode. Track whether
        object is consumed. Handle TC_ENDBLOCKDATA, TC_PROXYCLASSDESC and
        TC_LONGSTRING.
        (defaultReadObject): Set BlockDataMode to false during readFields.
        (resolveClass): Create new SecurityManager if necessary.
        Use Class.forName() if null ClassLoader found.
        (read(byte[],int,int): Copy remaining bytes to data before calling
        readNextBlock().
        (readFields): Set and reset BlockDataMode on call_read_method.
        Catch NoSuchFieldErrors.
        (setBlockDataMode): Return old mode.
        (static): New static code block.
        * java/io/natObjectInputStream.cc (getField): Removed.
        (getMethod): Likewise.

From-SVN: r63556
2003-02-28 11:38:56 +00:00
..
BufferedInputStream.java
BufferedOutputStream.java BufferedOutputStream.java (write(int)): Only flush when next byte cannot be buffered. 2003-02-13 22:48:36 +00:00
BufferedReader.java
BufferedWriter.java
ByteArrayInputStream.java
ByteArrayOutputStream.java ClassLoader.java (defineClass(byte[],int,int)): Deprecate. 2003-02-24 16:47:58 +00:00
CharArrayReader.java
CharArrayWriter.java
CharConversionException.java
DataInput.java
DataInputStream.java
DataOutput.java
DataOutputStream.java
EOFException.java
Externalizable.java
File.java
FileDescriptor.java FileDescriptor.java (position): New private field. 2003-01-04 03:53:00 +00:00
FileFilter.java
FileInputStream.java FileInputStream.java (finalize): Don't explicitly finalize FileDescriptor. 2003-01-04 00:08:11 +00:00
FilenameFilter.java
FileNotFoundException.java
FileOutputStream.java
FilePermission.java
FileReader.java
FileWriter.java
FilterInputStream.java
FilterOutputStream.java
FilterReader.java
FilterWriter.java
InputStream.java
InputStreamReader.java InputStreamReader.java (getEncoding): Return null when closed. 2003-02-13 23:28:57 +00:00
InterruptedIOException.java
InvalidClassException.java
InvalidObjectException.java
IOException.java
LineNumberInputStream.java
LineNumberReader.java
natFileDescriptorEcos.cc
natFileDescriptorPosix.cc FileDescriptor.java (position): New private field. 2003-01-04 03:53:00 +00:00
natFileDescriptorWin32.cc 2003-02-11 Ranjit Mathew <rmathew@hotmail.com> 2003-02-11 20:55:26 +00:00
natFilePosix.cc natFileWin32.cc (isAbsolute): Check path length before looking at any characters. 2003-01-21 20:45:57 +00:00
natFileWin32.cc re PR java/9253 (on win32, java.io.File.listFiles("C:\\") returns pwd instead of the root content of C:) 2003-01-24 21:57:00 +00:00
natObjectInputStream.cc Makefile.am (nat_source_files): Remove java/io/natObjectOutputStream.cc. 2003-02-28 11:38:56 +00:00
natVMObjectStreamClass.cc Makefile.am (core_java_source_files): Add VMObjectStreamClass.java. 2003-01-20 06:46:28 +00:00
NotActiveException.java
NotSerializableException.java
ObjectInput.java
ObjectInputStream.java Makefile.am (nat_source_files): Remove java/io/natObjectOutputStream.cc. 2003-02-28 11:38:56 +00:00
ObjectInputValidation.java
ObjectOutput.java
ObjectOutputStream.java Makefile.am (nat_source_files): Remove java/io/natObjectOutputStream.cc. 2003-02-28 11:38:56 +00:00
ObjectStreamClass.java Makefile.am (core_java_source_files): Add VMObjectStreamClass.java. 2003-01-20 06:46:28 +00:00
ObjectStreamConstants.java
ObjectStreamException.java
ObjectStreamField.java Makefile.am (nat_source_files): Remove java/io/natObjectOutputStream.cc. 2003-02-28 11:38:56 +00:00
OptionalDataException.java
OutputStream.java
OutputStreamWriter.java InputStreamReader.java (getEncoding): Return null when closed. 2003-02-13 23:28:57 +00:00
PipedInputStream.java
PipedOutputStream.java PipedOutputStream.java (flush): Declare as throwing IOException. 2003-02-04 21:07:15 +00:00
PipedReader.java
PipedWriter.java PipedOutputStream.java (flush): Declare as throwing IOException. 2003-02-04 21:07:15 +00:00
PrintStream.java
PrintWriter.java
PushbackInputStream.java
PushbackReader.java
RandomAccessFile.java
Reader.java
SequenceInputStream.java
Serializable.java
SerializablePermission.java
StreamCorruptedException.java
StreamTokenizer.java
StringBufferInputStream.java
StringReader.java
StringWriter.java PipedOutputStream.java (flush): Declare as throwing IOException. 2003-02-04 21:07:15 +00:00
SyncFailedException.java
UnsupportedEncodingException.java
UTFDataFormatException.java
VMObjectStreamClass.java Makefile.am (core_java_source_files): Add VMObjectStreamClass.java. 2003-01-20 06:46:28 +00:00
WriteAbortedException.java
Writer.java