bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/36916] New: Stack trace not serialized in java.lang.Throw


From: yval at cs dot adelaide dot edu dot au
Subject: [Bug classpath/36916] New: Stack trace not serialized in java.lang.Throwable
Date: 24 Jul 2008 08:43:26 -0000

When a java.lang.Throwable is serialized the contents of the stack trace may be
lost.  To fix it add the following writeObject method:

  private void writeObject(java.io.ObjectOutputStream out) throws IOException {
    getStackTrace();
    out.defaultWriteObject();
  }


-- 
           Summary: Stack trace not serialized in java.lang.Throwable
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: yval at cs dot adelaide dot edu dot au


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36916





reply via email to

[Prev in Thread] Current Thread [Next in Thread]