Bug 23035 - Swing: DefaultMutableTreeNode depthFirstEnumeration etc.
Summary: Swing: DefaultMutableTreeNode depthFirstEnumeration etc.
Status: RESOLVED FIXED
Alias: None
Product: classpath
Classification: Unclassified
Component: swing (show other bugs)
Version: unspecified
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-13 07:34 UTC by from-classpath
Modified: 2005-08-21 20:25 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description from-classpath 2005-07-13 07:34:14 UTC
Given the recent JTree patches, JTree components are now
mostly useable in Classpath. However, I still get various
NullPointerExceptions in several test applications, due to
stub-methods in DefaultMuteableTreeNode.

These methods should throw an UnsupportedOperation error
instead of silently returning null (or better yet, these
methods should be implemented :-))

preorderEnumeration()
postorderEnumeration()
breathFirstEnumeration()
depthFirstEnumeration()
Comment 1 from-classpath 2005-07-15 11:40:46 UTC
I have fixed this in CVS and it should be part of our 0.17 snapshot release.

Mauve tests will be added soon.

Please test with your application.
Comment 2 Thomas Fitzsimmons 2005-08-21 20:25:07 UTC
Fixed.  Closing.