Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8039214 Inference should not map capture variables to their upper bounds
  3. JDK-8173583

Release Note: Changes in the way javac handles wildcards and capture type variables

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Delivered
    • Icon: P4 P4
    • 9
    • 9
    • tools
    • Verified

      The javac compiler's behavior when handling wildcards and "capture" type variables has been improved for conformance to the language specification. This improves type checking behavior in certain unusual circumstances. It is also a source-incompatible change: certain uses of wildcards that have compiled in the past may fail to compile because of a program's reliance on the javac bug.

            dlsmith Dan Smith
            rcalnan Roger Calnan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: