RFR: 8370467: BorderFactory.createBevelBorder and createSoftBevelBorder throws NPE for null highlight and shadow [v10]
Alexey Ivanov
aivanov at openjdk.org
Wed Nov 12 15:33:18 UTC 2025
On Wed, 12 Nov 2025 15:06:03 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 one additional commit since the last revision:
>
> fix
Marked as reviewed by aivanov (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/27949#pullrequestreview-3454065278
More information about the client-libs-dev
mailing list