<div dir="ltr">This is a good question. JDK-8311806 is a P4 bug, so my (non-formal) algorithm would say not to backport this. But then, this clearly can create crashes and it is a simple fix that is not affecting other platforms, so I am very much in favour of backporting it. Note that I raised this point on the jdk-dev list [1] and it is discussed there as well [2]. <div>From those discussions, it becomes clear that a formal algorithm is most likely not enough, and there should always be room for manual judgement. </div><div><br></div><div>In this particular case, I would vote +1 for backporting it.</div><div><br></div><div>- Johan<br><div><br></div><div>[1] <a href="https://mail.openjdk.org/pipermail/jdk-dev/2024-November/009625.html">https://mail.openjdk.org/pipermail/jdk-dev/2024-November/009625.html</a></div><div>[2] <a href="https://mail.openjdk.org/pipermail/jdk-dev/2024-November/009629.html">https://mail.openjdk.org/pipermail/jdk-dev/2024-November/009629.html</a><br><div><br></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Nov 14, 2024 at 9:10 PM Kevin Rushforth <<a href="mailto:kevin.rushforth@oracle.com">kevin.rushforth@oracle.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><u></u>
<div>
This does look like JDK-8311806.<br>
<br>
Gluon maintains jfx17u, so Johan can comment on your request.<br>
<br>
-- Kevin<br>
<br>
<br>
<div>On 11/14/2024 2:29 AM, Glavo wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">Hi,
<div><br>
</div>
<div>We received a JVM crash report[1] for our
JavaFX application and I noticed it
contained these lines:</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="color:rgb(31,35,40);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">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.</span></blockquote>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span style="color:rgb(31,35,40);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji";font-size:14px">***
Terminating app due to uncaught exception
'NSInvalidArgumentException', reason:
'-[ButtonAccessibility
initWithEnv:accessible:]: unrecognized
selector sent to instance 0x6000024fb540'</span></blockquote>
<div><br>
</div>
<div>This crash occurred after we bumped the
JavaFX from 19.0.2.1 to 17.0.13. </div>
<div>It looks like it's related to
JDK-8311806, is it? </div>
<div>If yes, I'd like to request a backport of
the patch that fixes it to JavaFX 17u.</div>
<div><br>
</div>
<div>Glavo</div>
<div><br>
</div>
<div>[1]: <a href="https://github.com/HMCL-dev/HMCL/issues/3409" target="_blank">https://github.com/HMCL-dev/HMCL/issues/3409</a></div>
<div> </div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
</div>
</blockquote></div>