RFR: 8274617: constructor and parameter annotations are not copied to the anonymous class constructor [v4]

Vicente Romero vromero at openjdk.java.net
Fri Dec 10 21:29:02 UTC 2021


> Please review this PR which is about propagating constructor and parameter annotations to the anonymous class constructor. Currently we are propagating them to bridge methods which are synthetic. Propagating them to the anonymous class constructor seems sensible given that they are mandated by the spec. Please review also the related CSR,
> 
> TIA

Vicente Romero has updated the pull request incrementally with one additional commit since the last revision:

  addressing review comments

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6548/files
  - new: https://git.openjdk.java.net/jdk/pull/6548/files/15f1417b..2e90dd15

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=6548&range=03
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=6548&range=02-03

  Stats: 32 lines in 2 files changed: 17 ins; 8 del; 7 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6548.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6548/head:pull/6548

PR: https://git.openjdk.java.net/jdk/pull/6548


More information about the compiler-dev mailing list