RFR: 6201035: Undefined behavior of MatteBorder Ctors [v3]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Fri Oct 28 03:42:07 UTC 2022
On Thu, 27 Oct 2022 22:41:26 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> src/java.desktop/share/classes/javax/swing/border/MatteBorder.java line 79:
>>
>>> 77: * @param matteColor the color rendered for the border
>>> 78: * @throws {@code NullPointerException} if {@code borderInsets}
>>> 79: * is {@code null}
>>
>> Would `@inheritDoc` work in this case? The message is the same as in its super class.
>> Suggestion:
>>
>> * @throws {@inheritDoc}
>
> If we updated the parent class should not we do the same for all upto AbstractBorder?
I guess we should..updated..
-------------
PR: https://git.openjdk.org/jdk/pull/10740
More information about the client-libs-dev
mailing list