8139245: compiler crashes with exception on int:new method reference and generic method inference

Reviewed-by: mcimadamore
This commit is contained in:
Srikanth Adayapalam 2015-10-12 19:43:44 +05:30
parent 4d32c48daf
commit ac4f8dfdd2
3 changed files with 30 additions and 5 deletions

View file

@ -0,0 +1,3 @@
MethodRefIntColonColonNewTest.java:17:35: compiler.err.type.found.req: int, (compiler.misc.type.req.class.array)
MethodRefIntColonColonNewTest.java:18:10: compiler.err.cant.apply.symbol: kindname.method, m, java.lang.Object, compiler.misc.no.args, kindname.interface, MethodRefIntColonColonNewTest.SAM<T>, (compiler.misc.arg.length.mismatch)
2 errors