bug-classpath
[Top][All Lists]
Advanced

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

[Bug classpath/30217] New: ClassCastException in javax.management.Object


From: nicolas dot geoffray at menlina dot com
Subject: [Bug classpath/30217] New: ClassCastException in javax.management.ObjectName.getKeyPropertyList()
Date: 15 Dec 2006 10:46:36 -0000

The getKeyProperty method calls Collections.unModifiableMap which returns an
UnModifiableMap object. The UnmodifiableMap class does not extend the Hashtable
class. Therefore, the cast line 577 raises a checkcast exception:

(Hashtable) Collections.unmodifiableMap(new Hashtable(properties));


-- 
           Summary: ClassCastException in
                    javax.management.ObjectName.getKeyPropertyList()
           Product: classpath
           Version: 0.93
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nicolas dot geoffray at menlina dot com


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





reply via email to

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