Fri, 28 Jan 2011 12:03:49 +0000
6313164: javac generates code that fails byte code verification for the varargs feature
Summary: method applicability check should fail if formal varargs element type is not accessible
Reviewed-by: jjg
mcimadamore@845 | 1 | T6313164.java:12:8: compiler.err.cant.apply.symbol.1: kindname.method, foo1, p1.A[], p1.B,p1.B, kindname.class, p1.B, (compiler.misc.inaccessible.varargs.type: p1.A, kindname.class, T6313164) |
mcimadamore@845 | 2 | T6313164.java:14:13: compiler.err.invalid.inferred.types: X, (compiler.misc.inaccessible.varargs.type: p1.A, kindname.class, T6313164) |
mcimadamore@845 | 3 | T6313164.java:15:13: compiler.err.invalid.inferred.types: X, (compiler.misc.inaccessible.varargs.type: p1.A, kindname.class, T6313164) |
mcimadamore@845 | 4 | - compiler.note.unchecked.filename: B.java |
mcimadamore@845 | 5 | - compiler.note.unchecked.recompile |
mcimadamore@845 | 6 | 3 errors |