On Sat, 18 Oct 2025 06:53:19 GMT, Sergey Bylokhov <[email protected]> wrote:

> I don’t have a strong opinion on whether this is a test bug: using the Motif 
> L&F UI classes while GTK is active, a bug in the Motif UI class that assumes 
> these variables are always set, or a bug in BorderFactory.java as addressed 
> by this PR.

I believe there's always a chance of passing null value to this method from the 
app since it is public so even if we fix this particular issue somewhere else, 
there will always be a possibility of getting NPE when null value is passed as 
highlight and shadow, so this fix is fixing both the motif issue and border NPE 
issue

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

PR Comment: https://git.openjdk.org/jdk/pull/27839#issuecomment-3430587179

Reply via email to