[jdk11u-dev] Integrated: 8203277: preflow visitor used during lambda attribution shouldn't visit class definitions inside the lambda body
Guoxiong Li
gli at openjdk.org
Mon Jul 11 14:24:02 UTC 2022
On Sun, 10 Jul 2022 13:00:18 GMT, Guoxiong Li <gli at openjdk.org> wrote:
> Hi all,
>
> JDK-8203277 [1] fixes the issue about `AssertionError: isSubtype UNKNOWN` in JDK12. The users reported the similar issue JDK-8246111 [2] in JDK11. So it is good to backport JDK-8203277 to JDK11 to solve the problem.
>
> The code doesn't appy cleanly, because the file `test/langtools/tools/javac/api/TestGetScopeResult.java` doesn't exist in JDK11. This patch removes the file `TestGetScopeResult.java` from the original patch.
>
> Thanks for taking the time to review.
>
> [1] https://bugs.openjdk.org/browse/JDK-8203277
> [2] https://bugs.openjdk.org/browse/JDK-8246111
>
> Best Regards,
> -- Guoxiong
This pull request has now been integrated.
Changeset: bfc57460
Author: Guoxiong Li <gli at openjdk.org>
Committer: Christoph Langer <clanger at openjdk.org>
URL: https://git.openjdk.org/jdk11u-dev/commit/bfc574605bf5d08a47c76c4a0b0ac8d9d8c50c37
Stats: 56 lines in 2 files changed: 56 ins; 0 del; 0 mod
8203277: preflow visitor used during lambda attribution shouldn't visit class definitions inside the lambda body
Reviewed-by: clanger
Backport-of: 10da56f017804e3618cc02c60bcc10f5e3adeb47
-------------
PR: https://git.openjdk.org/jdk11u-dev/pull/1207
More information about the jdk-updates-dev
mailing list