langtools/test/tools/javac/importOnDemand/p1/String.java
author jlahoda
Thu, 09 Oct 2014 10:08:52 +0200
changeset 26993 513b2cae81c3
parent 25443 9187d77f2c64
permissions -rw-r--r--
8057652: Request to improve error messages for labeled declarations Summary: Parse labeled statements as block statements to improve error recovery for labeled declarations; related cleanup. Reviewed-by: jjg

package p1;

import p2.*;

public class String {
    public static void test() { }
}

class Test1 {
    private void test() {
        String.test();
        Object.test();
        Boolean.valueOf(true);
    }
}