langtools/test/tools/javac/InnerNamedConstant_2.out
author never
Mon, 31 Mar 2008 16:22:52 -0700
changeset 254 717d75d80a30
parent 10 06bc494ca11e
child 863 3113c955a388
permissions -rw-r--r--
6636352: Unit tests for supplementary character support fail with -XX:+AggressiveOpts Summary: incorrect encoding Reviewed-by: kvn, rasbold, sgoldman, jrose

InnerNamedConstant_2.java:22: inner classes cannot have static declarations
        static int x = 1;                  // ERROR - static not final
                   ^
InnerNamedConstant_2.java:23: inner classes cannot have static declarations
        static final String z;             // ERROR - static blank final
                            ^
InnerNamedConstant_2.java:25: cannot assign a value to final variable z
            z = "foobar";                  // Error may be reported here. See 4278961.
            ^
InnerNamedConstant_2.java:34: inner classes cannot have static declarations
        static final int y = Inner1.x * 5; // ERROR - initializer not constant
                         ^
4 errors