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 Availability Release.

To download the current JDK release, click here.
6u38Fixed 7 b09Fixed
Related Reports
Duplicate :  
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.

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