Summary
Due to unexpectedly large serialization-related behavioral incompatibilities, revert the code generation optimization done under JDK-8271623 for serializable classes.
Problem
After JDK-8271623 was integrated, there was a cascade of test failures in the JDK 18 CI runs triggered by the change.
Solution
Revert to using this.$0
for serializable classes.
Specification
No specification changes.
- csr of
-
JDK-8277965 Enclosing instance optimization affects serialization
-
- Closed
-
- links to
-
Review openjdk/jdk/6604