[jdk23] Withdrawn: 8334751: revert fix for JDK-8334488 which introduced a regression
Vicente Romero
vromero at openjdk.org
Sat Jun 22 14:48:14 UTC 2024
On Fri, 21 Jun 2024 21:36:43 GMT, Vicente Romero <vromero at openjdk.org> wrote:
> Fix for [JDK-8334488](https://bugs.openjdk.org/browse/JDK-8334488) which was backported from JDK 24 introduced a regression in javac. We propose to revert it. Basically code like:
>
> class Test {
> Test() {}
>
> Test(int a) {
> class InnerLocal {}
> new InnerLocal() {}; //compilation fails here
> this();
> }
> }
>
> should be accepted and it is being rejected after the mentioned backport.
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jdk/pull/19838
More information about the compiler-dev
mailing list