Wed, 10 Sep 2014 10:51:36 +0100
8055514: Wrong, confusing error when non-static varargs referenced in static context
Summary: Improved heuristics in MethodResolutionPhase.mergeResults()
Reviewed-by: vromero
mcimadamore@2559 | 1 | T8055514.java:21:9: compiler.err.non-static.cant.be.ref: kindname.method, m(int...) |
mcimadamore@2559 | 2 | T8055514.java:22:9: compiler.err.non-static.cant.be.ref: kindname.method, m2(int...) |
mcimadamore@2559 | 3 | T8055514.java:23:9: compiler.err.non-static.cant.be.ref: kindname.method, m3(int...) |
mcimadamore@2559 | 4 | T8055514.java:24:9: compiler.err.non-static.cant.be.ref: kindname.method, m4(int,int,int) |
mcimadamore@2559 | 5 | 4 errors |