RFR: 8289647: AssertionError during annotation processing of record related tests

Aggelos Biboudis abimpoudis at openjdk.org
Wed Jul 20 14:05:30 UTC 2022


This PR fixes a situation where the same record component was entered *and* schedule for later annotation at the same time.

The test case of the original bug report was recreated as part of "RecordCompilationTests". I tested that it breaks with the expected assertion error mentioned on the original bug report, without the proposed changes.

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

Commit messages:
 - 8289647: AssertionError during annotation processing of record related tests

Changes: https://git.openjdk.org/jdk/pull/9570/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=9570&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8289647
  Stats: 113 lines in 3 files changed: 76 ins; 30 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/9570.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/9570/head:pull/9570

PR: https://git.openjdk.org/jdk/pull/9570


More information about the compiler-dev mailing list