• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: OS/X Java native bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OS/X Java native bug


  • Subject: Re: OS/X Java native bug
  • From: Michael Hall via Cocoa-dev <email@hidden>
  • Date: Sat, 18 Mar 2023 19:53:47 -0500

> On Mar 18, 2023, at 4:46 AM, Michael Hall <email@hidden> wrote:
>
> The main differences seeming to be that it takes a pass through the CFRunLoop
> doing an invokeBlockCopy

After seeing this (java_md_macosx.m JVMInit  sameThread is true)…

           /*
             * We cannot use dispatch_sync here, because it blocks the main
dispatch queue.
             * Using the main NSRunLoop allows the dispatch queue to run
properly once
             * SWT (or whatever toolkit this is needed for) kicks off it's own
NSRunLoop
             * and starts running.
             */
I would think the problem is that -XrunOnFirstThread is intended for ’toolkit’s
that aren’t Swing based but handle the gui and NSRunLoop as indicated
themselves - like Eclipse with SWT.

Arbitrary Swing app’s just can’t use this jvm switch.

Sound plausible?


_______________________________________________

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

References: 
 >OS/X Java native bug (From: Michael Hall via Cocoa-dev <email@hidden>)
 >Re: OS/X Java native bug (From: Saagar Jha via Cocoa-dev <email@hidden>)
 >Re: OS/X Java native bug (From: Michael Hall via Cocoa-dev <email@hidden>)
 >Re: OS/X Java native bug (From: Michael Hall via Cocoa-dev <email@hidden>)
 >Re: OS/X Java native bug (From: Michael Hall via Cocoa-dev <email@hidden>)
 >Re: OS/X Java native bug (From: Michael Hall via Cocoa-dev <email@hidden>)

  • Prev by Date: Re: OS/X Java native bug
  • Next by Date: Re: OS/X Java native bug
  • Previous by thread: Re: OS/X Java native bug
  • Next by thread: Re: OS/X Java native bug
  • Index(es):
    • Date
    • Thread