Maintenance Notice

The bugs.java.com site will be undergoing maintenance on 15th Dec 2017 21:00 PST to 16th Dec 2017 1:00 AM PST.
JDK-6520635 : isModalityTypeSupported is not handled correctly
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6,7
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: generic,solaris
  • CPU: generic
  • Submitted: 2007-02-02
  • Updated: 2012-08-29
  • Resolved: 2011-03-07
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 Availabitlity Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u38Fixed 7 b09Fixed
Related Reports
Duplicate :  
Description
Specification for Toolkit.isModalityTypeSupported() method contains the following statement:

     * If a dialog with unsupported modality type is created, then
     * <code>Dialog.ModalityType.MODELESS</code> is used instead.

However, currently this is not implemented. For example, if a dialog with DOCUMENT_MODAL modality type is created with MToolkit (which doesn't support this type of modality), this dialog still is modal.
A test that can be used to reproduce the bug is attached.

Comments
EVALUATION A check isModalityTypeSupported should be added to the Dialog class. The same is for isModalExclusionTypeSupported.
2007-02-02