EVALUATION
When the compiler accepts this without diagnostic, it generates
code that doesn't verify.
###@###.### 2002-02-13
The test case given in the bug report is now
accepted by the compiler but the generated code fails to verify.
There are, I think, two bugs: first, the compiler synthesizes the
incorrect outer instance when the user does't provide one (the
commented code; the implicit outer instance should be C.this not
Middle.this because Middle is not an inherited member of Middle by
virtue of being private). Second, the anonymous class is given an
outer instance but shouldn't.
###@###.### 2002-02-13
Pending resolution of JLS2 issue 4689050. If the JLS is changed as a result of
that bug report, this will be closed as not a bug. However, the related
verification problem has been split into the separate bug report 4689058.
###@###.### 2002-05-21
The JLS question is now resolved. See 4689050 for two regression tests that
should be added to Sun's arsenal once this problem is fixed. Also, this bug
should be reported against jikes, EDG, aspectj, etc.
###@###.### 2002-05-24
|