JDK-6273045 : Regression test java/awt/Toolkit/FindToolkitTest/FindToolkitTest.sh fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • 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/Toolkit/FindToolkitTest/FindToolkitTest.sh fails due to compilation error. jtr file attached.
###@###.### 2005-05-19 13:51:45 GMT

Comments
EVALUATION >NullToolkit.java:42: NullToolkit is not abstract and does not override abstract method >isModalExclusionTypeSupported(java.awt.Dialog.ModalExclusionType) in java.awt.Toolkit >public class NullToolkit extends Toolkit { The test was not updatedt then new abstract method was added. isModalExclusionTypeSupported should be overrided. ###@###.### 2005-05-20 09:46:49 GMT Another way to solve a problem is to make isModalExclusionTypeSupported as concrete method. ###@###.### 2005-07-15 10:38:36 GMT
20-05-2005

SUGGESTED FIX ------- NullToolkit.java ------- 221a222,229 > > public boolean isModalExclusionTypeSupported(Dialog.ModalExclusionType exclusionType) { > return false; > } > > public boolean isModalityTypeSupported(Dialog.ModalityType modalityType) { > return false; > } ###@###.### 2005-05-20 09:46:49 GMT
20-05-2005