Find a way around AWTThread reflection hack
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.simantics.utils.threads.AWTThread (file:/C:/w/ws dir/apros/trunk/.metadata/.plugins/org.eclipse.pde.core/.bundle_pool/../../../../platform/bundles/org.simantics.utils.thread/) to field java.awt.EventQueue.dispatchThread
WARNING: Please consider reporting this to the maintainers of org.simantics.utils.threads.AWTThread
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Going forward, this most likely must be removed. However, this will cause problems for ThreadUtils
, which relies on having IThreadWorkQueue.getThread/asyncExec
return the executing Thread
.
Damn these reflection hacks