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

Lambda Spec: RawType::new is an inexact method reference

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8
    • Component/s: specification
    • Labels:
    • Subcomponent:
    • Verification:
      Verified

      Description

      Method references of the form RawType::new are treated as diamond constructor invocations, and require inference. Thus, they should not be treated as exact method references. This was the intent, but the 0.7.0 spec does not explicitly exclude this case in its definition of exact method reference.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dlsmith Dan Smith
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: