-
Enhancement
-
Resolution: Won't Fix
-
P4
-
9
-
None
To improve source compatibility, after the initial generification of swing (), the return type of TreeNode.children was refined to allow covariant overrides (JDK-8054360). However, DefaultMutableTreeNode.children still returns Enumeration<TreeNode> rather than Enumeration<? extends TreeNode>. The latter would allow subclasses to return more precise information.
See the discussion thread:
http://mail.openjdk.java.net/pipermail/jdk9-dev/2014-September/001295.html
See the discussion thread:
http://mail.openjdk.java.net/pipermail/jdk9-dev/2014-September/001295.html
- relates to
-
JDK-8043550 Fix raw and unchecked lint warnings in javax.swing.*
-
- Resolved
-
-
JDK-8054360 Refine generification of javax.swing
-
- Resolved
-