|
From: | jeroen at frijters dot net |
Subject: | [Bug classpath/26121] New: ObjectInputStream.readNextBlock() doesn't handle TC_RESET |
Date: | 6 Feb 2006 11:44:29 -0000 |
This program shows the problem: import java.io.*; class ser { public static void main(String[] args) throws Exception { ByteArrayOutputStream baos = new ByteArrayOutputStream(); ObjectOutputStream oos = new ObjectOutputStream(baos); oos.reset(); oos.writeByte(123); oos.close(); ObjectInputStream ois = new ObjectInputStream(new ByteArrayInputStream(baos.toByteArray())); System.out.println(ois.read()); } } -- Summary: ObjectInputStream.readNextBlock() doesn't handle TC_RESET Product: classpath Version: unspecified Status: UNCONFIRMED Severity: normal Priority: P3 Component: classpath AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jeroen at frijters dot net http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26121
[Prev in Thread] | Current Thread | [Next in Thread] |