On Mon, 27 Sep 2021 19:59:00 GMT, Mandy Chung <mch...@openjdk.org> wrote:
> A stray thought is why not most fields in `Field`/`Method`/`Constructor` are > `final`, as my IDE suggests. I can't find any hotspot code that injects > values to these fields. Experimentally changing most fields in `Field` to > final seem to pass at least all the java/lang/reflect tests. Since this is a > trusted package `@Stable` should then be pointless. I made them final in newly added patch now. So we can either merge this or previous commit if desired. ------------- PR: https://git.openjdk.java.net/jdk/pull/5694