Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[equinox-dev] IApplicationContext#applicationRunning needs to be called on the main thread?!?

Hi,

After having debugged now for some hours why the native splash screen in
JavaFX-OSGi-Applications is not take down when
IApplicationContext#applicationRunning is called [1] I found out that
this call does not work if your application is configured to be launched
on any-thread (in contrast to main).

a) I think this needs to be documented in the JavaDoc
b) Is there a way to find out the main-thread and execute a call in it?
c) Should the splash code doing this synchronization itself?

Tom

[1]https://bugs.eclipse.org/bugs/show_bug.cgi?id=418399


Back to the top