Swing应用程序在Apple Java更新1.6.0_51之后停滞不前

我们有一个Java Swing客户端应用程序.它作为Java Web Start applet和install4j安装程序安装.
自Apple发布最新的Java 6升级版以来,我们的应用程序在安装程序和Web Start版本上都显示Login Dialog后立即卡住.我们禁用了对话框,应用程序在启动后仍然卡住了.我们也试图使用不同的外观和感觉,因为有一些报道说这解决了这个问题,但它并没有帮助.
我们目前怀疑这是这个版本的JRE中某种与Swing相关的错误.
我们在Oracle的1.7.0_25 JRE上没有这个问题.

我们知道这次更新引起了很多问题,有没有人找到了解决这个问题的方法?

这是EDT线程的堆栈跟踪的最后一部分:

"AWT-EventQueue-1" prio=8 tid=000000002a1abc00 nid=0xb1d3f000 in Object.wait() [00000000b1d3d000]
   java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:485)
    at java.awt.EventQueue.getNextEvent(EventQueue.java:558)
    - locked <000000000686af80> (a java.awt.EventQueue)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:263)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:205)
    at java.awt.Dialog$1.run(Dialog.java:1049)
    at java.awt.Dialog$3.run(Dialog.java:1101)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Dialog.show(Dialog.java:1099)
    at java.awt.Component.show(Component.java:1615)
    at java.awt.Component.setVisible(Component.java:1567)
    at java.awt.Window.setVisible(Window.java:843)
    at java.awt.Dialog.setVisible(Dialog.java:984)

链接到Apple的最新更新信息:
http://support.apple.com/kb/HT5797

根据发行说明:

Multiple vulnerabilities existed in Java 1.6.0_45, the most serious of
which may allow an untrusted Java applet to execute arbitrary code
outside the Java sandbox. Visiting a web page containing a maliciously
crafted untrusted Java applet may lead to arbitrary code execution
with the privileges of the current user. These issues were addressed
by updating to Java version 1.6.0_51

解决方法:

Apple发布了这些更新的修订版本已解决此问题:
http://support.apple.com/kb/DL1572(10.7,10.8)
http://support.apple.com/kb/DL1573(仅限10.6)

上一篇:c# – 在服务器场上锁定(asp.net)


下一篇:HDU----(2157)How many ways??(快速矩阵幂)