Bug 23035

Summary: Swing: DefaultMutableTreeNode depthFirstEnumeration etc.
Product: classpath Reporter: from-classpath
Component: swingAssignee: Not yet assigned to anyone <unassigned>
Status: RESOLVED FIXED    
Severity: normal CC: bug-classpath
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Known to work:
Known to fail: Last reconfirmed:

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.