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

Vicente Romero vromero at openjdk.java.net
Fri Dec 3 04:15:49 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 two additional commits since the last revision:

 - adding support for type annotations
 - addressing review comments

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/6548/files
  - new: https://git.openjdk.java.net/jdk/pull/6548/files/7d95951c..2ed4c22d

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

  Stats: 172 lines in 3 files changed: 129 ins; 12 del; 31 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