[cp-patches] FYI: JTree /OpenJump fix

Roman Kennke kennke at aicas.com
Tue Jun 6 15:35:17 UTC 2006

This fixes the JTree bug with OpenJump. We simply shouldn't call
updateUI() from within setModel(). This causes a big re-setup of the
JTree, including some messing around with the model, which ends up
installing the wrong nodes, thus leading to the CCE reported in

This liberates OpenJump to a certain degree:

2006-06-06  Roman Kennke  <kennke at aicas.com>

        PR 27651
        * javax/swing/JTree.java
        (JTree(TreeModel)): Call updateUI() before setModel().
        (setModel): Don't call updateUI here.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.diff
Type: text/x-patch
Size: 1701 bytes
Desc: not available
Url : http://developer.classpath.org/pipermail/classpath-patches/attachments/20060606/55561614/patch.bin

More information about the Classpath-patches mailing list