I'm committing the attached patch which fixes a regression in object serialization, namely:
+FAIL: gnu.testlet.java.text.DecimalFormatSymbols.serial (number 1) +FAIL: gnu.testlet.java.text.DecimalFormatSymbols.serial: uncaught exception: java.lang.NullPointerException I couldn't work out why this was in there last time (I didn't put it there), and it doesn't seem to cause any problems pulling it out. Changelog: 2005-11-01 Andrew John Hughes <[EMAIL PROTECTED]> * java/io/ObjectInputStream.java: (parseContent(byte)): Remove weird exception throwing. -- Andrew :-) Please avoid sending me Microsoft Office (e.g. Word, PowerPoint) attachments. See http://www.fsf.org/philosophy/no-word-attachments.html If you use Microsoft Office, support movement towards the end of vendor lock-in: http://opendocumentfellowship.org/petition/ "Value your freedom, or you will lose it, teaches history. `Don't bother us with politics' respond those who don't want to learn." -- Richard Stallman Escape the Java Trap with GNU Classpath! http://www.gnu.org/philosophy/java-trap.html public class gcj extends Freedom implements Java { ... }
Index: java/io/ObjectInputStream.java =================================================================== RCS file: /cvsroot/classpath/classpath/java/io/ObjectInputStream.java,v retrieving revision 1.70 diff -u -3 -p -u -r1.70 ObjectInputStream.java --- java/io/ObjectInputStream.java 18 Oct 2005 08:03:31 -0000 1.70 +++ java/io/ObjectInputStream.java 1 Nov 2005 23:22:10 -0000 @@ -183,7 +183,6 @@ public class ObjectInputStream extends I else { if(dump) dumpElementln("BLOCKDATA"); } readNextBlock(marker); - throw new StreamCorruptedException("Unexpected blockData"); } case TC_NULL:
signature.asc
Description: Digital signature
_______________________________________________ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches