--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/langtools/test/tools/javac/InnerNamedConstant_2.out Sat Dec 01 00:00:00 2007 +0000
@@ -0,0 +1,13 @@
+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