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

Vicente Romero vromero at openjdk.java.net
Mon Dec 20 14:32:26 UTC 2021


On Sun, 19 Dec 2021 01:53:53 GMT, liach <duke at openjdk.java.net> wrote:

> Can these annotations be detected properly by reflection at runtime (when, say, compiled with `-parameters` flag to avoid a few other existing issues)?

sorry I'm not sure I'm following you, the `-parameters` option deals with the parameter names it has nothing to do with annotations

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

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


More information about the compiler-dev mailing list