[lworld] RFR: 8378476: [lworld] Disable Character cache for --enable-preview
Chen Liang
liach at openjdk.org
Wed Feb 25 18:47:40 UTC 2026
On Wed, 25 Feb 2026 17:07:31 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> Disable Character.valueOf cache for --enable-preview; always invokes `new Character(c)`.
> Refactor Boolean.valueOf using same code structure as other disables of caches.
> This aligns with Boolean, Byte, Short, Integer, Long disabling of wrapper classes with --enable-preview.
Marked as reviewed by liach (Committer).
> Refactor Boolean.valueOf using same code structure as other disables of caches.
I think this is already part of the lworld mainline.
-------------
PR Review: https://git.openjdk.org/valhalla/pull/2167#pullrequestreview-3855661514
PR Comment: https://git.openjdk.org/valhalla/pull/2167#issuecomment-3960779706
More information about the valhalla-dev
mailing list