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

Vicente Romero vromero at openjdk.java.net
Mon Dec 13 20:45:50 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:

  additional tests

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

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

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

  Stats: 67 lines in 1 file changed: 52 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