RFR: 8339902: Open source couple TextField related tests [v2]

Alexander Zuev kizune at openjdk.org
Tue Sep 17 00:01:07 UTC 2024


On Mon, 16 Sep 2024 23:25:24 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

>> Alexander Zuev has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Update test/jdk/java/awt/TextField/SetBoundsTest/SetBoundsTest.java
>>   
>>   Co-authored-by: Harshitha Onkar <harshitha.onkar at oracle.com>
>
> test/jdk/java/awt/TextField/CaretPositionTest/CaretPositionTest.java line 60:
> 
>> 58:             test.test();
>> 59:             if (position != 9) {
>> 60:                 System.err.println("Caret position should be at the end of the string");
> 
> Should be throw new RuntimeException("Caret position should be at the end of the string") ??

Sure.

> test/jdk/java/awt/TextField/SetBoundsTest/SetBoundsTest.java line 39:
> 
>> 37: /*
>> 38:  * @test
>> 39:  * @bug 6198290, 6277332
> 
> Test fails due to comma between bugIDs - Invalid or unrecognized bugid: 6198290

Fixed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21026#discussion_r1762097985
PR Review Comment: https://git.openjdk.org/jdk/pull/21026#discussion_r1762098093


More information about the client-libs-dev mailing list