On Tue, 29 Apr 2025 14:13:20 GMT, Chen Liang <li...@openjdk.org> wrote:
>> Improve StringBuilder getChar and putChar robustness with racy updates to >> StringBuilder. >> Test racing threads with append, insert, and reading characters. > > test/jdk/java/lang/StringBuilder/RacingSBThreads.java line 27: > >> 25: * @test >> 26: * @summary Test multi-threaded use of StringBuilder >> 27: * @compile --release 8 RacingSBThreads.java > > Is there a reason for this specific release number? Yes, so the test can be compiled and run on older versions. Specifically, restricting the use of String.repeat. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/24951#discussion_r2066663882