Integrated: 8280798: com.sun.jdi.ObjectReference::setValue spec should prohibit any final field modification

Alex Menkov amenkov at openjdk.org
Fri Dec 2 20:21:11 UTC 2022


On Mon, 21 Nov 2022 22:58:54 GMT, Alex Menkov <amenkov at openjdk.org> wrote:

> 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

This pull request has now been integrated.

Changeset: 2821fa98
Author:    Alex Menkov <amenkov at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/2821fa9883cc9687b53e3bb5655732a614cff8fc
Stats:     37 lines in 4 files changed: 22 ins; 2 del; 13 mod

8280798: com.sun.jdi.ObjectReference::setValue spec should prohibit any final field modification

Reviewed-by: alanb, cjplummer, sspitsyn

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

PR: https://git.openjdk.org/jdk/pull/11279


More information about the serviceability-dev mailing list