RFR: 6529151: NullPointerException in swing.plaf.synth.SynthLookAndFeel$Handler [v2]

Damon Nguyen dnguyen at openjdk.org
Fri Sep 9 06:41:44 UTC 2022


On Wed, 7 Sep 2022 04:40:56 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> NPE is thrown for closed/disposed JDialogs after uninstalling the UI which is because for SynthEditorPaneUI even though is disposed of, Nimbus propertyHandler tries to get the style of this disposed component resulting in NPE, 
>> which is fixed by a null check to prevent deferencing style object to get the color.
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   test fix

Applied changes and NPE is no longer. Looks good to me

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

Marked as reviewed by dnguyen (Author).

PR: https://git.openjdk.org/jdk/pull/10167



More information about the client-libs-dev mailing list