langtools/test/tools/javac/Parens4.java
author duke
Wed, 05 Jul 2017 23:01:50 +0200
changeset 44228 e46434c65a2b
parent 26662 7cf828d7c8fc
permissions -rw-r--r--
Merge

/*
 * @test /nodynamiccopyright/
 * @bug 4933317
 * @summary javac accepts parens in package names
 * @author gafter
 *
 * @compile/fail/ref=Parens4.out -XDrawDiagnostics Parens4.java
 */

class Parens4 {
    Object f() {
        return (java).util.Collections.EMPTY_LIST;
    }
}