On Wed, 18 Aug 2021 21:58:04 GMT, Alexey Ivanov <aiva...@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

Reply via email to