On Wed, 25 Feb 2026 17:07:31 GMT, Roger Riggs <[email protected]> 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.

This pull request has now been integrated.

Changeset: 607920d4
Author:    Roger Riggs <[email protected]>
URL:       
https://git.openjdk.org/valhalla/commit/607920d4697cdb96bd6f5c74cb88d7ff13a17eb6
Stats:     11 lines in 2 files changed: 5 ins; 0 del; 6 mod

8378476: [lworld] Disable Character cache for --enable-preview

Reviewed-by: liach

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

PR: https://git.openjdk.org/valhalla/pull/2167

Reply via email to