On Thu, 18 Sep 2025 12:59:48 GMT, Guanqiang Han <g...@openjdk.org> wrote:

> Creating a string of Integer.MAX_VALUE/2 characters would require enormous 
> memory

See test/hotspot/jtreg/runtime/jni/checked/TestLargeUTF8Length.java

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

PR Comment: https://git.openjdk.org/jdk/pull/27285#issuecomment-3310556040

Reply via email to