aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/io/InvalidClassException.java
AgeCommit message (Collapse)AuthorFilesLines
2001-04-26re PR libgcj/2237 (serialization doesn't throw exception on failure)Bryce McKinlay1-62/+39
Fix PR libgcj/2237: * java/io/ObjectStreamClass.java (setClass): Calculate serialVersionUID for local class and compare it against the UID from the Object Stream. Throw InvalidClassException upon mismatch. (setUID): Renamed to... (getClassUID): this. Return the calculated class UID rather than setting uid field directly. (getDefinedSUID): Removed. * java/io/ObjectInputStream.java (resolveClass): Use the three-argument Class.forName(). * java/io/InvalidClassException (toString): Don't include classname in result if it is null. From-SVN: r41567
2000-05-19Jumbo patch:Tom Tromey1-0/+110
* Imported beans and serialization * Updated IA-64 port * Miscellaneous bug fixes From-SVN: r34028