[jdk23u] RFR: 8337795: Type annotation attached to incorrect type during class reading

Liam Miller-Cushon cushon at openjdk.org
Tue Aug 13 17:26:24 UTC 2024


This change fixes a bug in javac's handling of type annotations in bytecode, which was logic first added in JDK 22 as part of the fix for JDK-8225377.

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

Commit messages:
 - Backport 8d0831478338e9b084b2c47f46eba9faae3a5eb6

Changes: https://git.openjdk.org/jdk23u/pull/67/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk23u&pr=67&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8337795
  Stats: 109 lines in 2 files changed: 25 ins; 44 del; 40 mod
  Patch: https://git.openjdk.org/jdk23u/pull/67.diff
  Fetch: git fetch https://git.openjdk.org/jdk23u.git pull/67/head:pull/67

PR: https://git.openjdk.org/jdk23u/pull/67


More information about the jdk-updates-dev mailing list