[jdk11u-dev] RFR: 8203277: preflow visitor used during lambda attribution shouldn't visit class definitions inside the lambda body

Guoxiong Li gli at openjdk.org
Sun Jul 10 13:10:02 UTC 2022


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

-------------

Commit messages:
 - Backport 10da56f017804e3618cc02c60bcc10f5e3adeb47

Changes: https://git.openjdk.org/jdk11u-dev/pull/1207/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=1207&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8203277
  Stats: 56 lines in 2 files changed: 56 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/1207.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev pull/1207/head:pull/1207

PR: https://git.openjdk.org/jdk11u-dev/pull/1207


More information about the jdk-updates-dev mailing list