[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug-classpath] [Bug swing/23255] New: Current BasicTreeUI assumes root
From: |
WBaer at gmx dot de |
Subject: |
[bug-classpath] [Bug swing/23255] New: Current BasicTreeUI assumes root is a TreeNode |
Date: |
5 Aug 2005 20:46:33 -0000 |
Hi,
the current BasicTreeUI implementation makes the assumption
at several places that root is a TreeNode type.
However this is not true as TreeModel.getRoot() can return
any type and this is true for applications which
implement their own TreeModel for example Jump (GIS-App).
The attached demo application is a derived demonstration
example of the problem from the Jump application.
It works with Sun JDK and throws ClassCastExceptions
with GNU classpath.
Wolfgang
classpath cvs 05/08/2005 with jamvm
--
Summary: Current BasicTreeUI assumes root is a TreeNode
Product: classpath
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: swing
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: WBaer at gmx dot de
CC: bug-classpath at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23255
- [bug-classpath] [Bug swing/23255] New: Current BasicTreeUI assumes root is a TreeNode,
WBaer at gmx dot de <=