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

[lworld] Javac should not allow constructor reference expression to mention projection types

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • tools
    • generic
    • generic

      Follow up to JDK-8244561

      Just as instance creation expressions may not mention V.ref or V.val,
      (i.e new V.ref() or new V.val() is illegal), constructor reference expressions should also not be allowed to mention the projection types.

      ATM javac allows these.

            sadayapalam Srikanth Adayapalam (Inactive)
            sadayapalam Srikanth Adayapalam (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: