Integrated: 6201035: Document NPE for passing null insets to constructors and methods of several javax.swing.border.* classes
Prasanta Sadhukhan
psadhukhan at openjdk.org
Wed Nov 23 03:23:41 UTC 2022
On Tue, 18 Oct 2022 06:36:49 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> 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 <psadhukhan at openjdk.org>
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
More information about the client-libs-dev
mailing list