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

Phil Race prr at openjdk.org
Sun Nov 2 17:33:04 UTC 2025


On Thu, 30 Oct 2025 03:30: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 one additional commit since the last revision:
> 
>   Test update

@TejeshR13 please review (in addition to @honkar-jdk )

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

PR Comment: https://git.openjdk.org/jdk/pull/27949#issuecomment-3478129772


More information about the client-libs-dev mailing list