jdk-24/langtools/test/tools/javac/lambda/MethodReference38.out
Maurizio Cimadamore 69ee819808 8008540: Constructor reference to non-reifiable array should be rejected
8008539: Spurious error when constructor reference mention an interface type
8008538: Constructor reference accepts wildcard parameterized types

Overhaul of Check.checkConstructorRefType

Reviewed-by: jjg
2013-03-12 16:02:13 +00:00

6 lines
361 B
Plaintext

MethodReference38.java:24:18: compiler.err.abstract.cant.be.instantiated: MethodReference38.A
MethodReference38.java:25:18: compiler.err.abstract.cant.be.instantiated: MethodReference38.I
MethodReference38.java:26:18: compiler.err.abstract.cant.be.instantiated: MethodReference38.AC
MethodReference38.java:27:18: compiler.err.enum.cant.be.instantiated
4 errors