RFR: 8280798: com.sun.jdi.ObjectReference::setValue spec should prohibit any final field modification [v2]

Chris Plummer cjplummer at openjdk.org
Wed Nov 30 17:45:03 UTC 2022


On Wed, 30 Nov 2022 16:34:52 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> One other thing to add is that we should survey the existing tests to make sure that there are tests to ensure IAE is thrown for both static and instance fields when they are final.

I think a good way to find such tests would be to remove the !isFinal() check and see if any tests fail.

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

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


More information about the serviceability-dev mailing list