<Swing Dev> [11][JDK-8153532] RFR: Add @throws NPE javadoc to UIManager.setLookAndFeel(String) method description

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Tue Apr 10 22:03:20 UTC 2018


Hi, Pankaj.
Can you please check other methods in this class since we update it anyway.
For example "setInstalledLookAndFeels" has @throws NPE
but "installLookAndFeel" has not.

The test to prove that, is welcome as well.

On 10/04/2018 03:57, Pankaj Bansal wrote:
> Hi All,
> 
> Please review a very simple fix for documentation change enhancement:
> 
> JDK-8153532: https://bugs.openjdk.java.net/browse/JDK-8153532
> 
> Webrev: http://cr.openjdk.java.net/~pbansal/8153532/webrev.00/
> 
> CSR: https://bugs.openjdk.java.net/browse/JDK-8201363
> 
> UIManager.setLookAndFeel (String) throws NPE if the className is null. 
> But this is not updated in the API description. Made changes for the same.
> 
> Regards,
> 
> Pankaj Bansal
> 


-- 
Best regards, Sergey.



More information about the swing-dev mailing list