mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-13 20:05:31 +00:00
5 lines
200 B
Plaintext
5 lines
200 B
Plaintext
NonStaticFieldExpr1.java:10: non-static variable x cannot be referenced from a static context
|
|
int y = NonStaticFieldExpr1.x; // SHOULD BE ERROR
|
|
^
|
|
1 error
|