-
Bug
-
Resolution: Fixed
-
P4
-
repo-valhalla
-
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.
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.
- relates to
-
JDK-8244561 [lworld] Javac should not allow instantiation of V.ref or V.val
-
- Resolved
-