RFR: 8355371: NegativeArraySizeException in print methods in IO or System.console() in JShell [v2]

Tatsunori Uchino duke at openjdk.org
Wed Apr 30 23:22:16 UTC 2025


On Wed, 30 Apr 2025 16:19:22 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

>> Tatsunori Uchino has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Escape katakana
>
> test/langtools/jdk/jshell/ConsoleTest.java line 179:
> 
>> 177:         };
>> 178:         int count = 384; // 128-255, 384-511, 640-767, ... (JDK-8355371)
>> 179:         String testStr = "ア"; // U+30A2 (A2 >= 80) (JDK-8354910)
> 
> I am not sure if we can use Unicode chars at this time in the repository. I would suggest to either wait for PR https://github.com/openjdk/jdk/pull/24574 which, I think, formally moves the codebase to UTF-8. Or replace with `\u30A2`.

done

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24897#discussion_r2069651715


More information about the kulla-dev mailing list