RFR: 8359119: Change Charset to use StableValue [v3]

Per Minborg pminborg at openjdk.org
Tue Aug 5 09:08:47 UTC 2025


> Fields and methods can better leverage the Stable Value API compared to using DCL and holder classes. There are also some fields that can be marked `@Stable`.
> 
> This PR passes tier1, tier2, and tier3 tests on multiple platforms.

Per Minborg has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains six additional commits since the last revision:

 - Address comments in PR
 - Merge branch 'master' into stablify-charset
 - Revert for loop
 - Revert more
 - Revert changes
 - Add stable value functionality

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25727/files
  - new: https://git.openjdk.org/jdk/pull/25727/files/21a43faa..728b190f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=25727&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=25727&range=01-02

  Stats: 98272 lines in 2418 files changed: 56523 ins; 27371 del; 14378 mod
  Patch: https://git.openjdk.org/jdk/pull/25727.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25727/head:pull/25727

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


More information about the nio-dev mailing list