RFR: 8368185: Test javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.java failed: Synth ButtonUI does not handle PRESSED & MOUSE_OVER state [v3]
Alexey Ivanov
aivanov at openjdk.org
Mon Oct 6 21:07:45 UTC 2025
On Mon, 6 Oct 2025 05:28:26 GMT, Tejesh R <tr at openjdk.org> wrote:
> > This is observed when test is run from IDE. When it is run from jtreg the test passes. Seems strange behavior, do you know the reason?
>
> Looks like something to do with IDE settings or system though because it works fine with jtreg and other macos too.
I guess loading the XML for synth
lookAndFeel.load(bug6276188.class.getResourceAsStream("bug6276188.xml"), bug6276188.class);
doesn't work when you run the test from IDE, as [Prasanta said](https://github.com/openjdk/jdk/pull/27444#issuecomment-3364384538). I haven't tried myself.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27444#issuecomment-3374128436
More information about the client-libs-dev
mailing list