RFR: 8280798: com.sun.jdi.ObjectReference::setValue spec should prohibit any final field modification [v2]
Alex Menkov
amenkov at openjdk.org
Tue Nov 29 20:18:30 UTC 2022
> com.sun.jdi.ObjectReference::setValue spec says that final static fields cannot be modified, but openjdk implementation throws IllegalArgumentException for any final fields (static or instance).
>
> The fix updates the spec to prohibit any final field modification
> CSR: JDK-8281652
Alex Menkov has updated the pull request incrementally with one additional commit since the last revision:
Updated IAE description to mention final fields
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/11279/files
- new: https://git.openjdk.org/jdk/pull/11279/files/24b580eb..5d98874c
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=11279&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=11279&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/11279.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/11279/head:pull/11279
PR: https://git.openjdk.org/jdk/pull/11279
More information about the serviceability-dev
mailing list