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

Type variables should have lower/super bounds

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: P5
    • Resolution: Other
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: specification
    • Labels:
      None

      Description

      Wildcards can have lower bounds. Type variables can't. Since wildcards are
      converted to type variables with lower bounds by capture conversion the
      compiler and the specification must deal with type variables with lower bounds
      anyways. Thus it appears to be a minor addition to the language to allow lower
      bounds on type variables.

      ###@###.### 2004-05-25

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              abuckley Alex Buckley
              Reporter:
              abuckley Alex Buckley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: