RFR: 8355369: Remove setAccessible usage for setting final fields in java.util.concurrent [v2]

Chen Liang liach at openjdk.org
Wed Apr 23 16:25:43 UTC 2025


On Wed, 23 Apr 2025 15:22:37 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.
>
> Viktor Klang has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Adding a releaseFence() to ConcurrentskipListSet.clone()

Thanks. We can investigate how clone cleanups interact with truly final or strict finals in another issue.

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

PR Comment: https://git.openjdk.org/jdk/pull/24821#issuecomment-2824852312


More information about the core-libs-dev mailing list