Class ButtonAccessibility is implemented twice in JFX 17.0.13

Kevin Rushforth kevin.rushforth at oracle.com
Thu Nov 14 20:09:52 UTC 2024


This does look like JDK-8311806.

Gluon maintains jfx17u, so Johan can comment on your request.

-- Kevin


On 11/14/2024 2:29 AM, Glavo wrote:
> Hi,
>
> We received a JVM crash report[1] for our JavaFX application and I 
> noticed it contained these lines:
>
>     objc[71933]: Class ButtonAccessibility is implemented in both
>     /Library/Java/JavaVirtualMachines/jdk-22.jdk/Contents/Home/lib/libawt_lwawt.dylib
>     (0x100d6caa0) and
>     /Users/lolimaster/.openjfx/cache/17.0.13/libglass.dylib
>     (0x14c4fe218). One of the two will be used. Which one is undefined.
>
>
>     *** Terminating app due to uncaught exception
>     'NSInvalidArgumentException', reason: '-[ButtonAccessibility
>     initWithEnv:accessible:]: unrecognized selector sent to instance
>     0x6000024fb540'
>
>
> This crash occurred after we bumped the JavaFX from 19.0.2.1 to 17.0.13.
> It looks like it's related to JDK-8311806, is it?
> If yes, I'd like to request a backport of the patch that fixes it to 
> JavaFX 17u.
>
> Glavo
>
> [1]: https://github.com/HMCL-dev/HMCL/issues/3409
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/openjfx-dev/attachments/20241114/88b80918/attachment-0001.htm>


More information about the openjfx-dev mailing list