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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • repo-valhalla
    • Affects Version/s: repo-valhalla
    • Component/s: 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.

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

              Created:
              Updated:
              Resolved: