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

Generics: JComboBox

    XMLWordPrintable

Details

    • b143
    • generic, x86
    • generic, linux_ubuntu
    • Verified

    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
      ----------

      Attachments

        Issue Links

          Activity

            People

              rupashka Pavel Porvatov (Inactive)
              rupashka Pavel Porvatov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: