bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/25941] New: XMLEncoder: endless recursion when serialisin


From: thebohemian at gmx dot net
Subject: [Bug classpath/25941] New: XMLEncoder: endless recursion when serialising anonymous class
Date: 24 Jan 2006 11:24:35 -0000

Attempting to do something like this:

XMLEncoder xe = new XMLEncoder(System.out);
xe.writeObject(new HashMap() {} );
                             ^^

Results in an endless recursion. The JDK successfully recovers from the error,
that the anonymous class' constructor is not reachable.


-- 
           Summary: XMLEncoder: endless recursion when serialising anonymous
                    class
           Product: classpath
           Version: 0.21
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: thebohemian at gmx dot net


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





reply via email to

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