RFR: 8355369: Remove setAccessible usage for setting final fields in java.util.concurrent
Alan Bateman
alanb at openjdk.org
Wed Apr 23 14:16:51 UTC 2025
On Wed, 23 Apr 2025 14:11:59 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:
> I guess the intent is just to have the minimal patch to come away from `setAccessible()`.
It's to move away from using Field.set to mutate non-static final fields. Viktor offered to get this done before the "prepare for final means final" changes.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/24821#issuecomment-2824462984
More information about the core-libs-dev
mailing list