mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-20 13:19:36 +08:00
70e2e8dc1d
2003-02-14 Jeroen Frijters <jeroen@sumatra.nl> * java/io/ObjectInputStream.java (readObject): Cleaned up the class hierarchy loop. (readFields(Object,ObjectStreamField[],boolean)): Changed argument list to Object,ObjectStreamClass, moved callReadMethod code up into readObject and added Class argument to all setXxxField calls. (callReadMethod): Changed Class argument to ObjectStreamClass to be consistent with ObjectOutputStream and to facilitate caching the Method in the future. (setBooleanField): Added Class argument. (setByteField): Likewise. (setCharField): Likewise. (setDoubleField): Likewise. (setFloatField): Likewise. (setIntField): Likewise. (setLongField): Likewise. (setShortField): Likewise. (setObjectField): Likewise. * java/io/ObjectOutputStream.java (writeObject): Cleaned up the class hierarchy loop. (defaultWriteObject): Call writeFields with new argument list. (writeFields(Object,ObjectStreamField[],boolean): Changed argument list to Object,ObjectStreamClass, moved callWriteMethod up into writeObject and added Class argument to all getXxxField calls. (callWriteMethod): Added ObjectStreamClass argument to be able to get the proper class to call getMethod on (each class can have (or not have) its own writeObject method). (getBooleanField): Added Class argument. (getByteField): Likewise. (getCharField): Likewise. (getDoubleField): Likewise. (getFloatField): Likewise. (getIntField): Likewise. (getLongField): Likewise. (getShortField): Likewise. (getObjectField): Likewise. * java/io/ObjectStreamClass.java (hasReadMethod): Added method to facilitate caching the Method object in the future. From-SVN: r64351 |
||
---|---|---|
.. | ||
BufferedInputStream.java | ||
BufferedOutputStream.java | ||
BufferedReader.java | ||
BufferedWriter.java | ||
ByteArrayInputStream.java | ||
ByteArrayOutputStream.java | ||
CharArrayReader.java | ||
CharArrayWriter.java | ||
CharConversionException.java | ||
DataInput.java | ||
DataInputStream.java | ||
DataOutput.java | ||
DataOutputStream.java | ||
EOFException.java | ||
Externalizable.java | ||
File.java | ||
FileDescriptor.java | ||
FileFilter.java | ||
FileInputStream.java | ||
FilenameFilter.java | ||
FileNotFoundException.java | ||
FileOutputStream.java | ||
FilePermission.java | ||
FileReader.java | ||
FileWriter.java | ||
FilterInputStream.java | ||
FilterOutputStream.java | ||
FilterReader.java | ||
FilterWriter.java | ||
InputStream.java | ||
InputStreamReader.java | ||
InterruptedIOException.java | ||
InvalidClassException.java | ||
InvalidObjectException.java | ||
IOException.java | ||
LineNumberInputStream.java | ||
LineNumberReader.java | ||
natFileDescriptorEcos.cc | ||
natFileDescriptorPosix.cc | ||
natFileDescriptorWin32.cc | ||
natFilePosix.cc | ||
natFileWin32.cc | ||
natObjectInputStream.cc | ||
natVMObjectStreamClass.cc | ||
NotActiveException.java | ||
NotSerializableException.java | ||
ObjectInput.java | ||
ObjectInputStream.java | ||
ObjectInputValidation.java | ||
ObjectOutput.java | ||
ObjectOutputStream.java | ||
ObjectStreamClass.java | ||
ObjectStreamConstants.java | ||
ObjectStreamException.java | ||
ObjectStreamField.java | ||
OptionalDataException.java | ||
OutputStream.java | ||
OutputStreamWriter.java | ||
PipedInputStream.java | ||
PipedOutputStream.java | ||
PipedReader.java | ||
PipedWriter.java | ||
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 | ||
SyncFailedException.java | ||
UnsupportedEncodingException.java | ||
UTFDataFormatException.java | ||
VMObjectStreamClass.java | ||
WriteAbortedException.java | ||
Writer.java |