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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
26533
8fba085fbdbf 8055514: Wrong, confusing error when non-static varargs referenced in static context
mcimadamore
parents:
diff changeset
     1
T8055514.java:21:9: compiler.err.non-static.cant.be.ref: kindname.method, m(int...)
8fba085fbdbf 8055514: Wrong, confusing error when non-static varargs referenced in static context
mcimadamore
parents:
diff changeset
     2
T8055514.java:22:9: compiler.err.non-static.cant.be.ref: kindname.method, m2(int...)
8fba085fbdbf 8055514: Wrong, confusing error when non-static varargs referenced in static context
mcimadamore
parents:
diff changeset
     3
T8055514.java:23:9: compiler.err.non-static.cant.be.ref: kindname.method, m3(int...)
8fba085fbdbf 8055514: Wrong, confusing error when non-static varargs referenced in static context
mcimadamore
parents:
diff changeset
     4
T8055514.java:24:9: compiler.err.non-static.cant.be.ref: kindname.method, m4(int,int,int)
8fba085fbdbf 8055514: Wrong, confusing error when non-static varargs referenced in static context
mcimadamore
parents:
diff changeset
     5
4 errors