langtools/test/tools/javac/NonStaticFieldExpr2.out
author xdono
Wed, 02 Jul 2008 12:56:02 -0700
changeset 735 372aa565a221
parent 10 06bc494ca11e
child 863 3113c955a388
permissions -rw-r--r--
6719955: Update copyright year Summary: Update copyright year for files that have been modified in 2008 Reviewed-by: ohair, tbell
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
10
06bc494ca11e Initial load
duke
parents:
diff changeset
     1
NonStaticFieldExpr2.java:14: non-static variable x cannot be referenced from a static context
06bc494ca11e Initial load
duke
parents:
diff changeset
     2
     int z = NonStaticFieldExpr2.x;     // SHOULD BE ERROR
06bc494ca11e Initial load
duke
parents:
diff changeset
     3
                                ^
06bc494ca11e Initial load
duke
parents:
diff changeset
     4
1 error