changeset 863 | 3113c955a388 |
parent 10 | 06bc494ca11e |
child 939 | 38e24969c7e9 |
--- a/langtools/test/tools/javac/NonStaticFieldExpr3.out Tue Jul 08 18:06:19 2008 -0700 +++ b/langtools/test/tools/javac/NonStaticFieldExpr3.out Thu Jul 10 11:25:23 2008 -0700 @@ -1,4 +1,2 @@ -NonStaticFieldExpr3.java:14: non-static variable x cannot be referenced from a static context - int a = NonStaticFieldExpr3.x; // SHOULD BE ERROR - ^ +NonStaticFieldExpr3.java:14:30: compiler.err.non-static.cant.be.ref: (- compiler.misc.kindname.variable), x 1 error