RFR: 8357690: Add @Stable and final to java.lang.CharacterDataLatin1 and other CharacterData classes [v3]

Naoto Sato naoto at openjdk.org
Wed May 28 18:57:53 UTC 2025


On Tue, 27 May 2025 19:32:33 GMT, Shaojin Wen <swen at openjdk.org> wrote:

>> Classes such as java.lang.CharacterDataXXX have multiple static final arrays, these are immutable, We should add `@Stable` and final to provide information to the optimizer.
>
> Shaojin Wen has updated the pull request incrementally with one additional commit since the last revision:
> 
>   fix comments, from @natoj

LGTM. Thanks for the changes.

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

Marked as reviewed by naoto (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25430#pullrequestreview-2876123518


More information about the core-libs-dev mailing list