JVM hang with Swing and macOS
Martin Pernollet
martin.pernollet at protonmail.com
Thu Mar 23 11:00:09 UTC 2023
> Start another java process -XstartOnMainThread that does the OpenGL part from a Swing application?
Sorry I do not understand your question. If you speak about triggering two process with -XstartOnFirstThread, I think they might both freeze. Or worse, one freeze and the other one get kick/stopped by the former.
I can try this next week because I do not have a macOS with me up to next thursday.
> One hang up there though might be that I don’t think java applications that include the java native commands are allowed in the Mac App Store. Another bug due to each command has it’s own unique CFBundleIdentifier but that identifier is always the same and Apple doesn’t allow duplicates in the App Store.
Being able to deploy on App Store is not an immediate need for me but this is a very interesting point to consider. I'll try to understand how CFBundleIdentifier relates to -XstartOnFIrstThread.
Regards,
Martin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/client-libs-dev/attachments/20230323/822d1b4d/attachment.htm>
More information about the client-libs-dev
mailing list