RFR: 8280798: com.sun.jdi.ObjectReference::setValue spec should prohibit any final field modification [v3]
Alex Menkov
amenkov at openjdk.org
Thu Dec 1 20:04:54 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 test to test instance final fields
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/11279/files
- new: https://git.openjdk.org/jdk/pull/11279/files/5d98874c..55a4616b
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=11279&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=11279&range=01-02
Stats: 34 lines in 3 files changed: 22 ins; 2 del; 10 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