mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-27 21:55:48 +08:00
4480b3dcf6
* 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
28 lines
644 B
Plaintext
28 lines
644 B
Plaintext
# Config file that tells mauve about the `libgcj' tag.
|
|
JDK1.0
|
|
JDK1.1
|
|
JDK1.2
|
|
JDK1.3
|
|
JDK1.4
|
|
JLS1.0
|
|
JLS1.1
|
|
JLS1.2
|
|
JDBC1.0
|
|
JDBC2.0
|
|
|
|
# Cannot be compiled
|
|
!java.text.ACIAttribute
|
|
|
|
# The following tests seem to hang or crash the testsuite.
|
|
# This a problem when running Mauve "standalone".
|
|
!java.lang.reflect.Array.newInstance
|
|
|
|
# Character.unicode seems to be very broken (the test)
|
|
# Does not give meaningfull test results at the moment.
|
|
!java.lang.Character.unicode
|
|
|
|
# These are almost certainly buggy test cases.
|
|
# The behaviour of the garbarge collector cannot be predicted.
|
|
# Note the . at the end so we do test java.lang.reflect
|
|
!java.lang.ref.
|