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

Shaojin Wen swen at openjdk.org
Tue May 27 19:32:33 UTC 2025


> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/25430/files
  - new: https://git.openjdk.org/jdk/pull/25430/files/d9f0e5e7..46b79333

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

  Stats: 7 lines in 7 files changed: 0 ins; 0 del; 7 mod
  Patch: https://git.openjdk.org/jdk/pull/25430.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25430/head:pull/25430

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


More information about the core-libs-dev mailing list