[lworld] RFR: 8259804: Field.setAccessible should not allow changing fields of inline classes [v2]
Roger Riggs
rriggs at openjdk.java.net
Fri Jan 15 14:46:36 UTC 2021
> 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.
Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
Revert FieldSetAccessibleTest to the jdk master version; simplify merge later
-------------
Changes:
- all: https://git.openjdk.java.net/valhalla/pull/307/files
- new: https://git.openjdk.java.net/valhalla/pull/307/files/25f16c62..cf92cf71
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=valhalla&pr=307&range=01
- incr: https://webrevs.openjdk.java.net/?repo=valhalla&pr=307&range=00-01
Stats: 15 lines in 1 file changed: 3 ins; 0 del; 12 mod
Patch: https://git.openjdk.java.net/valhalla/pull/307.diff
Fetch: git fetch https://git.openjdk.java.net/valhalla pull/307/head:pull/307
PR: https://git.openjdk.java.net/valhalla/pull/307
More information about the valhalla-dev
mailing list