JDK-7031551 : Generics: JComboBox
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,linux_ubuntu
  • CPU: generic,x86
  • Submitted: 2011-03-28
  • Updated: 2017-05-16
  • Resolved: 2011-07-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 7
7 b143Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Relates :  
Description
https://bugs.openjdk.java.net/show_bug.cgi?id=100153

Shortly: "Generify" JComboBox, along with: ComboBoxModel, DefaultComboBoxModel and MutableComboBoxModel

Below is an extract from letter written by ###@###.###
--------------
But is there a reason why javax.swing.ListModel was generified, but not its
sub-interfaces like ComboBoxModel?

This "type swallowing" actually caused non-fixable compiler errors in Scala,
where the scala-swing package can't be built anymore against the Java 7 code
base.

The relevant bug ticket in Scala's trac is
https://lampsvn.epfl.ch/trac/scala/ticket/3634
----------

Comments
EVALUATION JComboBox and some other classes should be "generified"
28-03-2011