-
Bug
-
Resolution: Fixed
-
P2
-
None
-
Verified
This is specified as a compiler error:
class C<T> { <U> C() {} }
new <String> C<>()
The equivalent method reference should also be illegal:
C::<String>new
javac already reports an error on the method reference.
class C<T> { <U> C() {} }
new <String> C<>()
The equivalent method reference should also be illegal:
C::<String>new
javac already reports an error on the method reference.