[lworld] RFR: 8259804: Field.setAccessible should not allow changing fields of inline classes
mchung at openjdk.java.net
Fri Jan 15 03:03:13 UTC 2021
On Thu, 14 Jan 2021 23:07:36 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> Update the javadoc for setAccessibleObject and Field.set to restrict setting of final fields.
> Correct the javadoc to match the implementation changes made in 8237444: Trust final fields in records
> Also, the corresponding test is updated to match the restrictions.
Thanks for updating the javadoc and test. The test can simply be reverted to the jdk/master version and no copyright header update needed.
Marked as reviewed by mchung (Committer).
More information about the valhalla-dev