Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8300007 | 21 | Jan Lahoda | P2 | Resolved | Fixed | b05 |
JDK-8300369 | 20.0.1 | Jan Lahoda | P2 | Resolved | Fixed | b02 |
Effectively final handling was changed to be closer to the wording of the JLS under JDK-8294461. However, this lead to JDK-8299416, and it turns out the effectively handling needs more complex consideration, including the specification.
Therefore, the proposal is to revertJDK-8294461, and reconsider the effectively final handling in a future release, making adjustments as needed.
Therefore, the proposal is to revert
- backported by
-
JDK-8300007 Revert JDK-8294461: wrong effectively final determination by javac
- Resolved
-
JDK-8300369 Revert JDK-8294461: wrong effectively final determination by javac
- Resolved
- csr for
-
JDK-8299855 Revert JDK-8294461: wrong effectively final determination by javac
- Closed
- relates to
-
JDK-8299416 javac complains about "local variables referenced from an inner class must be final or effectively final" although variable is only assigned once
- Open
-
JDK-8294461 wrong effectively final determination by javac
- Resolved
(2 links to)