RFR: 8370467: BorderFactory.createBevelBorder and createSoftBevelBorder throws NPE for null highlight and shadow [v7]

Tejesh R tr at openjdk.org
Tue Nov 4 07:38:33 UTC 2025


On Tue, 4 Nov 2025 07:11:21 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:
> 
>   javadoc update

LGTM

-------------

Marked as reviewed by tr (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/27949#pullrequestreview-3414378090


More information about the client-libs-dev mailing list