On Mon, 9 Mar 2026 18:42:06 GMT, Damon Nguyen <[email protected]> wrote:

>> This test used to intermittently fail. Since then, the test has been 
>> converted from an `.html` test to a `.java` test. I have run the test in CI 
>> on 3 different runs with 100 repeats across all OS's. The test passes on all 
>> instances. So, I have removed the test from the ProblemList as well. The 
>> test updates are mostly minor nits.
>
> Damon Nguyen has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   Edit concatenation

test/jdk/java/awt/TextComponent/CorrectTextComponentSelectionTest.java line 76:

> 74:         // cover the components by the selection completely
> 75:         String sf = " ".repeat(50);
> 76:         tf.setText(sf);

Suggestion:

        tf.setText(" ".repeat(50));

You can simplify it further.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30058#discussion_r2907515275

Reply via email to