RFR: 8352793: Open source several AWT TextComponent tests - Batch 1

Andrey Turbanov aturbanov at openjdk.org
Wed Apr 16 08:14:49 UTC 2025


On Tue, 15 Apr 2025 10:03:42 GMT, Tejesh R <tr at openjdk.org> wrote:

> Open source these AWT TextComponent tests:
> 
> java/awt/TextComponent/BackgroundTest/BackgroundTest.java
> java/awt/TextComponent/DisableTest/DisableTest.java
> java/awt/TextComponent/TextFieldMargin/TextFieldMargin.java
> java/awt/TextComponent/ModifiersTest/ModifiersTest.java

test/jdk/java/awt/TextComponent/DisableTest.java line 88:

> 86:         ActionListener al = ev -> {
> 87:             boolean enable = (ev.getSource() == be);
> 88:             Iterator iterator = comps.iterator(); while(iterator.hasNext()) {

Let's move `while (iterator.hasNext()) {` to a separate line

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24656#discussion_r2046355717


More information about the client-libs-dev mailing list