RFR: 8368185: Test javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.java failed: Synth ButtonUI does not handle PRESSED & MOUSE_OVER state [v3]
Tejesh R
tr at openjdk.org
Mon Oct 6 05:30:52 UTC 2025
On Fri, 3 Oct 2025 06:05:32 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> Test is not passing in my local machine - macos aarch64 machine. Failing with this error:
>
> ```
> Button center point: java.awt.Point[x=298,y=219]
> Red: 181; Green: 182; Blue: 186
> Exception in thread "main" java.lang.RuntimeException: Synth ButtonUI does not handle PRESSED & MOUSE_OVER state
> at bug6276188.main(bug6276188.java:104)
> ```
>
> 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.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27444#issuecomment-3369977073
More information about the client-libs-dev
mailing list