RFR: 6201035: Undefined behavior of MatteBorder Ctors
Sergey Bylokhov
serb at openjdk.org
Thu Oct 20 23:49:51 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.
It seems the same issue exists in other methods, like getBorderInsets?
-------------
PR: https://git.openjdk.org/jdk/pull/10740
More information about the client-libs-dev
mailing list