RFR: 8370467: BorderFactory.createBevelBorder and createSoftBevelBorder throws NPE for null highlight and shadow [v8]
Tejesh R
tr at openjdk.org
Tue Nov 11 11:22:27 UTC 2025
On Tue, 11 Nov 2025 06:46:45 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> If we pass null as highlight and shadow color to `BorderFactory.createBevelBorder` and `createSoftBevelBorder`
>> it throws NPE which is not mentioned in the spec as the expected outcome.
>> Fixed the NPE and the spec
>
> Prasanta Sadhukhan has updated the pull request incrementally with two additional commits since the last revision:
>
> - Code fix only
> - Code fix only
Marked as reviewed by tr (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/27949#pullrequestreview-3447558915
More information about the client-libs-dev
mailing list