[lworld] RFR: 8259804: Field.setAccessible should not allow changing fields of inline classes

Roger Riggs rriggs at openjdk.java.net
Thu Jan 14 23:12:28 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

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

Commit messages:
 - 8259804: Field.setAccessible should not allow changing fields of inline classes

Changes: https://git.openjdk.java.net/valhalla/pull/307/files
 Webrev: https://webrevs.openjdk.java.net/?repo=valhalla&pr=307&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8259804
  Stats: 12 lines in 2 files changed: 2 ins; 6 del; 4 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