我的 Eclipse 项目中有一个构建文件。该文件所做的事情之一是通过提示提出问题,使用 <input/>
标签。自从升级到 Eclipse Helios 后,这不再有效,因为我收到以下错误:
[input] ***WARNING: Display must be created on main thread due to Cocoa restrictions.
Invalid thread access
如何修复此错误?
最佳答案
它看起来确实像 bug 303869
I've submitted at feature request to Apple: Bug ID# 7840189 .
If we have the possibility to run the display code on the main thread via this new Dispatch object/method, I think that SWT can be made to work in applets without changing too much code, isn't it ?
另请检查bug 288436看看它是否与您的情况相关。
关于eclipse - Ant <input/> 不再在 Eclipse Helios 中工作 (3.6),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3253077/