RFR: 8068293: [TEST_BUG] Test closed/com/sun/java/swing/plaf/motif/InternalFrame/4150591/bug4150591.java fails with GTKLookAndFeel

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Oct 22 05:47:01 UTC 2025


On Sat, 18 Oct 2025 06:53:19 GMT, Sergey Bylokhov <serb at openjdk.org> 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


More information about the client-libs-dev mailing list