On Thu, 23 Oct 2025 06:54:27 GMT, Prasanta Sadhukhan <[email protected]> 
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

This pull request has now been integrated.

Changeset: bc66d3e6
Author:    Prasanta Sadhukhan <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/bc66d3e65d208edc69e8ae334d23b38f2b78a440
Stats:     68 lines in 2 files changed: 66 ins; 0 del; 2 mod

8370467: BorderFactory.createBevelBorder and createSoftBevelBorder throws NPE 
for null highlight and shadow

Reviewed-by: aivanov, tr, honkar

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

PR: https://git.openjdk.org/jdk/pull/27949

Reply via email to