[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/25188] New: Serialization: exceptions ignored on readReso
From: |
monoman at gmail dot com |
Subject: |
[Bug classpath/25188] New: Serialization: exceptions ignored on readResolve are silenced yielding bad objects |
Date: |
30 Nov 2005 18:59:37 -0000 |
Some history: A segfault on JamVM alerted me to this. The segfault was caused
by a high indexed method being called on a simpler object. Debugging showed
that readResolve on the proxy was causing an exception instead of returning the
right kind of object and the exception was being silenced yielding the proxy
object as if it were the desired one.
Short cure:
Rethrow the catched exception as an IOException as the signature demands.
Should I post the patch here or in the classpath-patches list?
--
Summary: Serialization: exceptions ignored on readResolve are
silenced yielding bad objects
Product: classpath
Version: 0.19
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: monoman at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25188
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug classpath/25188] New: Serialization: exceptions ignored on readResolve are silenced yielding bad objects,
monoman at gmail dot com <=