JDK-6273035 : Regression test java/awt/Dialog/ModalityListenerOrder fails on Windows
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2005-05-19
  • Updated: 2006-04-06
  • Resolved: 2005-08-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b49Fixed
Related Reports
Relates :  
Description
The failure occurs on b38 AWT PIT build

The regression testcase java/awt/Dialog/ModalityListenerOrder fails on Windows. jtr file attached.
###@###.### 2005-05-19 13:41:03 GMT

Comments
SUGGESTED FIX ------- ModalityListenerOrder.java ------- *** /tmp/sccs.BcvFru 2005-07-28 11:18:22.525930392 +0400 --- ModalityListenerOrder.java 2005-07-28 11:02:09.476639770 +0400 *************** *** 8,14 **** */ import java.awt.*; ! import sun.awt.windows.*; import java.awt.event.*; import java.util.*; import java.applet.*; --- 8,14 ---- */ import java.awt.*; ! import sun.awt.*; import java.awt.event.*; import java.util.*; import java.applet.*; *************** *** 52,58 **** public void run() { if (D == null) { ! WToolkit T = WToolkit.getWToolkit(); T.addModalityListener(this); f = new Frame("base frame"); D = new Dialog(f, "Modal Dialog "); --- 52,58 ---- public void run() { if (D == null) { ! SunToolkit T = (SunToolkit) Toolkit.getDefaultToolkit(); T.addModalityListener(this); f = new Frame("base frame"); D = new Dialog(f, "Modal Dialog ");
20-05-2005

EVALUATION The problem in sun.awt.ModalityEvent which was moved from sun.awt.windows package ###@###.### 2005-05-20 07:59:33 GMT
20-05-2005