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

The constructors of BevelBorder, SoftBevelBorder, and BevelBorderUIResource 
still throw unspecified NPE. Is it necessary to update only the "createXX.." 
methods, or should we instead update the spec of the potential NPE for all of 
these classes/methods?

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

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

Reply via email to