Srikanth Adayapalam 8afd89977c 8062373: Project Coin: diamond and anonymous classes
Allow diamond inference in combination with anonymous class instance creation

Co-authored-by: Maurizio Cimadamore <maurizio.cimadamore@oracle.com>
Reviewed-by: mcimadamore, vromero
2015-03-30 17:09:14 +05:30

6 lines
377 B
Plaintext

Neg14.java:36:23: compiler.err.does.not.override.abstract: compiler.misc.anonymous.class: Neg14$3, foo(), Neg14.A
Neg14.java:40:24: compiler.err.does.not.override.abstract: compiler.misc.anonymous.class: Neg14$4, foo(), Neg14.A
Neg14.java:44:13: compiler.err.abstract.cant.be.instantiated: Neg14.A
Neg14.java:47:14: compiler.err.abstract.cant.be.instantiated: Neg14.A
4 errors