Integrated: 8355369: Remove setAccessible usage for setting final fields in java.util.concurrent

Viktor Klang vklang at openjdk.org
Thu Apr 24 14:17:19 UTC 2025


On Wed, 23 Apr 2025 10:10:54 GMT, Viktor Klang <vklang at openjdk.org> wrote:

> This Pull Request replaces the uses of Field + setAccessible to modify final fields in java.util.concurrent with Unsafe.

This pull request has now been integrated.

Changeset: 356c4d9c
Author:    Viktor Klang <vklang at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/356c4d9ca93c8a37231e86d583ce9628d693c733
Stats:     32 lines in 3 files changed: 7 ins; 6 del; 19 mod

8355369: Remove setAccessible usage for setting final fields in java.util.concurrent

Reviewed-by: pminborg, dl, rgiulietti, alanb

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

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


More information about the core-libs-dev mailing list