JDK-6259113 : Regression: java/awt/Dialog/ChoiceModalDialogTest/ChoiceModalDialogTest.html fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 5.0u3
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • CPU: x86
  • Submitted: 2005-04-21
  • Updated: 2014-02-27
  • Resolved: 2005-05-10
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.
Other
5.0u4 b04Fixed
Description
JDK        	    : Tiger U3 b07
Platform[s]         : Fails On:  Cinnabar JDS 3 b32
Failing Test [s]    : java/awt/Dialog/ChoiceModalDialogTest/ChoiceModalDialogTest.html

    Test source location:
    =====================
/net/jdk/export/jpse04/Regression/1.5.0/test/java/awt/Dialog/ChoiceModalDialogTest

    jtr file location:
    ==================
/net/cady/export5/results/tiger_u3/reg-pupkin/workDir/java/awt/Dialog/ChoiceModalDialogTest/ChoiceModalDialogTest.jtr

    How to reproduce:
    ====================
    - Set JAVA_HOME to Tiger U3 b07
    - cd /net/jdk/export/jpse04/Regression/1.5.0/test/java/awt/Dialog/ChoiceModalDialogTest
    - /net/koori.sfbay/onestop/jct-tools/2.1.6/archive/fcs/binaries/linux/bin/jtreg -r:/tmp -w:/tmp ./ChoiceModalDialogTest.html


    Test output:
    =============
java.lang.ClassCastException: ChoiceModalDialogTest
        at com.sun.javatest.regtest.AppletWrapper$AppletRunner.makeApplet(Applet
Wrapper.java:336)
        at com.sun.javatest.regtest.AppletWrapper$AppletRunner.<init>(AppletWrap
per.java:236)
        at com.sun.javatest.regtest.AppletWrapper$AppletThread.run(AppletWrapper
.java:117)
        at java.lang.Thread.run(Thread.java:595)
STATUS:Failed.Applet thread threw exception: java.lang.ClassCastException: Choic
eModalDialogTest
result: Failed. Execution failed: Applet thread threw exception: java.lang.Class
CastException: ChoiceModalDialogTest


    Specific Machine Info:
    ======================
 Linux pupkin 2.6.5-7.139-default #1 Fri Jan 14 15:41:33 UTC 2005 i686 athlon i38
6 GNU/Linux
Sun Java Desktop System, Release 3 - build 32
Assembled 28 March 2005

###@###.### 2005-04-21 01:03:04 GMT

Comments
SUGGESTED FIX Remove test/java/awt/Dialog/ChoiceModalDialog/ChoiceModalDialog.html file. ###@###.### 2005-04-21 08:26:43 GMT
21-04-2005

EVALUATION java/awt/test/Dialog/ChoiceModalDialog is actually not an applet test, but a main test. In a Mustang workspace there is only one ChoiceModalDialog.java file, but in a 5.0u3 and 5.0u4 workspaces ChoiceModalDialog.html appeared by mistake. ###@###.### 2005-04-21 08:26:42 GMT
21-04-2005