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

Refine generification of javax.swing

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: client-libs
    • Labels:
    • Subcomponent:
    • Introduced In Version:
      9
    • Resolved In Build:
      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

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: