RFR: 8312560: Annotation on Decomposed Record Component in Enhanced For Loop Fails Compilation

Aggelos Biboudis abimpoudis at openjdk.org
Tue Nov 21 10:08:47 UTC 2023


This PR fixes the attribution of record patterns which have var and an annotation. The scheduling of the attribution was skipped for this occasion.

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

Commit messages:
 - 8312560: Annotation on Decomposed Record Component in Enhanced For Loop Fails Compilation
 - Add test

Changes: https://git.openjdk.org/jdk/pull/16745/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16745&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8312560
  Stats: 47 lines in 2 files changed: 44 ins; 1 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/16745.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16745/head:pull/16745

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


More information about the compiler-dev mailing list