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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • None
    • specification
    • Verified

      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.

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

              Created:
              Updated:
              Resolved: