On Thu, 18 Apr 2024 16:41:34 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:

>> Renjith Kannath Pariyangad has updated the pull request incrementally with 
>> one additional commit since the last revision:
>> 
>>   Suggesions updated
>
> src/java.desktop/share/classes/javax/swing/JEditorPane.java line 497:
> 
>> 495:             // we need to cancel background loading
>> 496:             if (pageLoader != null) {
>> 497:                 pageLoader.cancel(true);
> 
> Suggestion:
> 
>                 pageLoader.cancel(true);
>                 pageLoader = null;
> 
> Let's assign `null` to indicate there's no active `pageLoader` any more.

Updated

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

PR Review Comment: https://git.openjdk.org/jdk/pull/18670#discussion_r1572292328

Reply via email to