Refine generification of javax.swing

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 9
    • Affects Version/s: 9
    • Component/s: client-libs
    • 9
    • b30

        Initial use of the generified version of swing (JDK-8043550) has revealed greater than expected source compatibility impact in some cases. In particular, there are many implementation of the interface javax.swing.tree.TreeNode which defined a more specialized version of the children method. To allow these implementations to still compile, the generification of children method should probably be changed from
            Enumeration<TreeNode> children()
        to
            Enumeration<? extends TreeNode>

              Assignee:
              Joe Darcy
              Reporter:
              Joe Darcy
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: