RFR: 8343882: BasicAnnoTests doesn't handle multiple annotations at the same position

Liam Miller-Cushon cushon at openjdk.org
Sat Nov 9 20:57:39 UTC 2024


Please consider this fix to `test/langtools/tools/javac/processing/model/type/BasicAnnoTests.java`. Due to a long-standing bug in the test, some test cases were not being processed if there were multiple assertions for annotations at the same position. All existing cases in the test still pass after this fix.

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

Commit messages:
 - 8343882: BasicAnnoTests doesn't handle multiple annotations at the same position

Changes: https://git.openjdk.org/jdk/pull/21998/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21998&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8343882
  Stats: 18 lines in 1 file changed: 5 ins; 4 del; 9 mod
  Patch: https://git.openjdk.org/jdk/pull/21998.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/21998/head:pull/21998

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


More information about the compiler-dev mailing list