RFR: 8352865: Open source several AWT TextComponent tests - Batch 2

Sergey Bylokhov serb at openjdk.org
Fri Apr 11 04:17:25 UTC 2025


On Mon, 7 Apr 2025 07:24:31 GMT, Tejesh R <tr at openjdk.org> wrote:

> Open source these AWT TextComponent tests:
> 
> java/awt/TextComponent/SelectionAndCaretColor/SelectionAndCaretColor.java
> java/awt/TextComponent/SelectionTest/SelectionTest.java
> java/awt/TextComponent/CorrectTextComponentSelectionTest/CorrectTextComponentSelectionTest.java
> java/awt/TextComponent/AltPlusNumberKeyCombinationsTest/AltPlusNumberKeyCombinationsTest.java

test/jdk/java/awt/TextComponent/SelectionAndCaretColor.java line 130:

> 128:         });
> 129:         if (flips != 6) {
> 130:             throw new RuntimeException("Invalid number of flips: " + flips + " instead of 6");

Please wrap the long lines to a maximum of 80 characters per line.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24477#discussion_r2038770752


More information about the client-libs-dev mailing list