Tue, 04 Mar 2008 15:19:06 +0000
6608214: Exception throw while analysing a file with error
Summary: bad error-recovery after bad type-variable bound is detected
Reviewed-by: jjg
duke@1 | 1 | NonStaticFieldExpr1.java:10: non-static variable x cannot be referenced from a static context |
duke@1 | 2 | int y = NonStaticFieldExpr1.x; // SHOULD BE ERROR |
duke@1 | 3 | ^ |
duke@1 | 4 | 1 error |