langtools/test/tools/javac/T7120463.java
author kizune
Mon, 23 Sep 2013 17:27:38 +0400
changeset 20250 26472e76d2f5
permissions -rw-r--r--
7154966: CRs found to be in Fixed state with no test and no noreg- keyword. Reviewed-by: ksrini

/*
 * @test /nodynamiccopyright/
 * @bug 7120463
 * @summary Fix method reference parser support in order to avoid ambiguities
 * @compile/fail/ref=T7120463.out -XDrawDiagnostics T7120463.java
 */

class T7120463 {
    void test() { that(i < len, "oopmap"); }
    void that(int i, String s) { };
}