On Wed, 30 Apr 2025 13:13:30 GMT, Roger Riggs <rri...@openjdk.org> wrote:

>> Improve StringBuilder getChar and putChar robustness with racy updates to 
>> StringBuilder. 
>> Test racing threads with append, insert, and reading characters.
>
> Roger Riggs has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Test cleanup

test/jdk/java/lang/StringBuilder/RacingSBThreads.java line 64:

> 62: 
> 63:     // Create a String with a repeated character
> 64:     private static String initString(char c, int len) {

It may be easier to understand if initString is renamed to repeat

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24951#discussion_r2068653589

Reply via email to