Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8054360

Refine generification of javax.swing

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • P4
    • Resolution: Fixed
    • 9
    • 9
    • client-libs
    • 9
    • b30

    Backports

      Description

        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>

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: