RFR: 8368185: Test javax/swing/plaf/synth/SynthButtonUI/6276188/bug6276188.java failed: Synth ButtonUI does not handle PRESSED & MOUSE_OVER state
Prasanta Sadhukhan
psadhukhan at openjdk.org
Fri Oct 3 06:07:47 UTC 2025
On Fri, 26 Sep 2025 13:54:08 GMT, Tejesh R <tr 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?
Not sure..I ran from commandline and it works locally too..it needs to access the xml file, probably from IDE it is not able to access that file..
-------------
PR Comment: https://git.openjdk.org/jdk/pull/27444#issuecomment-3364384538
More information about the client-libs-dev
mailing list