Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6876061
Votes 0
Synopsis Following JCK5 test no working as exp-d on linux: awt-interactive-ComponentTests
Category java:classes_awt
Reported Against
Release Fixed 5.0u22(b03)
State 10-Fix Delivered, Verified, bug
Priority: 1-Very High
Related Bugs 2183834 , 6892145
Submit Date 26-AUG-2009
Description
On Linux JCK5 test api/java_awt/interactive/ComponentTests.html#ComponentTests is not working as expected. Confirmed on linux with JDK5 GA and latest 5th.

The issue:

      - a window titled "Test 1" openend by the JCK-runtime-15a
test api/java_awt/interactive/ComponentTests.html#ComponentTests

      - A quit dialog titled "Quit Application?"

      - The quit dialog is supposed to be modal.

      - Issue: the quit dialog is not modal, because I am able to
        access its parent's menu (as you can see on the screen
shot).
Posted Date : 2009-08-26 15:20:50.0
Work Around
N/A
Evaluation
see comments.
Posted Date : 2009-10-08 20:52:39.0

To fix the problem in jdk5 we need to backport some changes from jdk6 (the changes that were committed as a part of the modality changes - 4080029). The fix affects XAWT code only (the XMenuBarPeer class, the handleJavaMouseEvent and the handleF10KeyPress handlers) and the fix is to block all events (except paint events) for menus that are in blocked windows.
Posted Date : 2009-10-12 13:09:14.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang