On Tue, 18 Oct 2022 06:36:49 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

> The behavior of MatteBorder constructors taking Insets object as a parameter 
> is undocumented. It would throw NPE if null object is passed to it, which 
> should be documented in the spec.

This pull request has now been integrated.

Changeset: 412b4365
Author:    Prasanta Sadhukhan <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/412b43658a878bf004502a68948cb0c68375468e
Stats:     27 lines in 10 files changed: 26 ins; 0 del; 1 mod

6201035: Document NPE for passing null insets to constructors and methods of 
several javax.swing.border.* classes

Reviewed-by: tr, prr, aivanov, serb

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

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

Reply via email to