<AWT Dev> RFR: 8267161 : Write automated test case for JDK-4479161 [v4]

lawrence.andrews github.com+87324768+lawrence-andrew at openjdk.java.net
Thu Aug 19 15:49:26 UTC 2021


On Wed, 18 Aug 2021 21:58:04 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> lawrence.andrews has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Fixed review comments
>
> test/jdk/java/awt/im/4959409/bug4959409.java line 65:
> 
>> 63:         final CountDownLatch keyPressedEventLatch = new CountDownLatch(1);
>> 64:         final Point points[] = new Point[1];
>> 65:         final Rectangle rect[] = new Rectangle[1];
> 
> Suggestion:
> 
>         final Point[] points = new Point[1];
>         final Rectangle[] rect = new Rectangle[1];
> 
> 
> The IDE issues a warning about C-style array declaration.

corrected and now the IDE does not issue the warning.

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

PR: https://git.openjdk.java.net/jdk/pull/5058


More information about the awt-dev mailing list