-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P2
-
Affects Version/s: None
-
Component/s: specification
-
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.