langtools/test/tools/javac/varargs/8055514/T8055514.out
author mcimadamore
Mon, 08 Sep 2014 14:16:33 +0100
changeset 26533 8fba085fbdbf
permissions -rw-r--r--
8055514: Wrong, confusing error when non-static varargs referenced in static context Summary: Improved heuristics in MethodResolutionPhase.mergeResults() Reviewed-by: vromero

T8055514.java:21:9: compiler.err.non-static.cant.be.ref: kindname.method, m(int...)
T8055514.java:22:9: compiler.err.non-static.cant.be.ref: kindname.method, m2(int...)
T8055514.java:23:9: compiler.err.non-static.cant.be.ref: kindname.method, m3(int...)
T8055514.java:24:9: compiler.err.non-static.cant.be.ref: kindname.method, m4(int,int,int)
4 errors