[lworld] Integrated: 8259804: Field.setAccessible should not allow changing fields of inline classes
Roger Riggs
rriggs at openjdk.java.net
Fri Jan 15 16:59:17 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.
This pull request has now been integrated.
Changeset: f5fb93c4
Author: Roger Riggs <rriggs at openjdk.org>
URL: https://git.openjdk.java.net/valhalla/commit/f5fb93c4
Stats: 18 lines in 2 files changed: 2 ins; 3 del; 13 mod
8259804: Field.setAccessible should not allow changing fields of inline classes
Reviewed-by: mchung, chegar
-------------
PR: https://git.openjdk.java.net/valhalla/pull/307
More information about the valhalla-dev
mailing list