Swing应用程序在Apple Java更新1.6.0_51之后停滞不前 [英] Swing Application stuck following Apple Java update 1.6.0_51

查看:147
本文介绍了Swing应用程序在Apple Java更新1.6.0_51之后停滞不前的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个Java Swing客户端应用程序。它作为Java Web Start小程序和install4j安装程序安装。

由于Apple发布了最新的Java 6升级,我们的应用程序在安装程序和Web Start版本上都显示Login Dialog后立即卡住。我们禁用了对话框,应用程序在启动后仍然卡住了。我们还试图使用不同的外观和感觉,因为有一些报道说这解决了这个问题,但它没有帮助。

我们目前怀疑这是与此版本相关的某种Swing相关错误JRE。

我们在Oracle的1.7.0_25 JRE上没有这个问题。

We have a Java Swing client application. It's installed as a Java Web Start applet and as a install4j installer.
Since Apple released the latest Java 6 upgrade our application gets stuck immediately after Login Dialog is displayed on both Installer and Web Start versions. We disabled the dialog, the application still got stuck immediately after the start. We also tried to use different Look&Feels, as there are some reports that this fixes the issue, it didn't help.
We currently suspect that this is some kind of Swing related bug in this version of JRE.
We do not have this issue on Oracle's 1.7.0_25 JRE.

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

We know that this update caused a lot of issues, has anyone found the fix for this?

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

Here is the last part of the stack-trace of EDT thread:

"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

Link to the Apple's latest update information:
http://support.apple.com/kb/HT5797

根据发行说明:


Java 1.6.0_45中存在多个漏洞,最严重的
可能允许不受信任的Java applet执行任意代码
在Java沙箱之外。访问包含恶意
制作的不受信任的Java小程序的网页可能导致使用当前用户的特权执行任意代码
。这些问题通过更新到Java版本1.6.0_51来解决

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://支持.apple.com / kb / DL1573 (仅限10.6)

This issue has been resolved by Apple releasing a revised version of these updates: http://support.apple.com/kb/DL1572 (10.7, 10.8+) http://support.apple.com/kb/DL1573 (10.6-only)

这篇关于Swing应用程序在Apple Java更新1.6.0_51之后停滞不前的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆