Re: OS/X Java native bug
Re: OS/X Java native bug
- Subject: Re: OS/X Java native bug
- From: Michael Hall via Cocoa-dev <email@hidden>
- Date: Fri, 17 Mar 2023 06:31:40 -0500
> On Mar 17, 2023, at 4:07 AM, Saagar Jha <email@hidden> wrote:
>
> The implementation of -[ThreadUtilities performOnMainThreadWaiting:block:]
> does the right thing here, which is calling the block directly if it’s
> already running on the main thread:
> https://github.com/openjdk/jdk/blob/9d518c528b11953b556aa7585fc69ff9c9a22435/src/java.desktop/macosx/native/libosxapp/ThreadUtilities.m#L103.
> It’s likely that your hang is caused by something else.
>
> Saagar Jha
>
That was already suggested but I couldn’t understand how it could be done. I’ll
take it as correct with the second opinion. The stack trace seemed to indicate
this as the place. Maybe something within the block.
I may have to debug further.
Thanks.
Mike
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden