JDK-5008482 : Regression-test java/awt/Icon/ChildFrameIcon/ChildFrameIconTest.html fails
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 6
  • Priority: P5
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2004-03-05
  • Updated: 2023-01-10
Related Reports
Relates :  
Relates :  
Relates :  
Description
Name: iaR10016			Date: 03/05/2004


Filed By    : J2SE-SQA [###@###.###
JDK         : JDK1.5.0-b40, JDK1.5.0-b39, JDK1.4.2-b28
Testbase    : Regression-test
Platforms   : all
switch/Mode : -client
Falling test: java/awt/Icon/ChildFrameIcon/ChildFrameIconTest.html

Regression-test java/awt/Icon/ChildFrameIcon/ChildFrameIconTest.html test fails using JDK1.5.0-b40
on all platforms.

Test Description reads:
...
Look at the icon in the upper left corner of the message dialog.
Press pass if you see default coffee cup icon else press fail.
...

Please, run the script from "How to reproduce" section to reproduce the failure:
tested message dialog does not contain coffee cup icon, so the test fails.

Test source location:
=====================
/java/re/jdk/1.5.0/promoted/beta/b40/ws/j2se/test/java/awt/Icon/ChildFrameIcon/ChildFrameIconTest.html

jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b39/regtest/linux/mercury_gnome_linux-17/workDir/test-manual/java/awt/Icon/ChildFrameIcon/ChildFrameIconTest.jtr

How to reproduce:
=================
Run the following script (you may need to change its variables)

--- script start ---
#!/bin/sh

#Paths in Java Software:
TESTJAVA="/java/re/jdk/1.5.0/promoted/all/b40/binaries/linux-i586"
TESTBASE="/java/re/jdk/1.5.0/promoted/all/b40/ws/j2se/test"

#Alternative paths outside Java Software
#TESTJAVA="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b40/binaries/linux-i586"
#TESTBASE="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b40/ws/j2se/test"

#Alternative paths for the NSK site:
#TESTJAVA="/net/linux-15/export/home/java/jdk1.5.0/linux"
#TESTBASE="/net/linux-15/export/home/java/regtest.tiger/test"

cp $TESTBASE/java/awt/Icon/ChildFrameIcon/* ./
$TESTJAVA/bin/javac ChildFrameIconTest.java
$TESTJAVA/bin/appletviewer -Xnosecurity ChildFrameIconTest.html
--- script end ---

Specific machine info:
======================
Hostname: linux-17
OS: Mercury

======================================================================

Comments
EVALUATION In the current release (JDK6) the problem is reproducible when using the MToolkit only. Using the XToolkit (active by default) the bug is not reproducible.
22-02-2007

EVALUATION Name: adR10249 Date: 03/05/2004 This is the test for 4284610. The submitter thought that Dialog should have an icon regardless of whether this Dialog resizable on not. Description for 4779641 stated that a non-resizable dialogs shouldn't have icons and that bug was fixed. Moreover the similar bug 4788660 was closed as not reproducible. Thus, it seems that the behaviour was changed since 4779641 and we should remove this test because we already have got reg-test for correct behaviour after 4779641. Find correct test in: java/awt/Dialog/DialogIconTest/DialogIconTest.java In any case we won't fix this bug right now. Im going to commit it to any future release. ###@###.### 5-March-2004 ====================================================================== Need to modify test description or remove test ###@###.### 2005-06-29 12:58:37 GMT
29-06-2005

CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mustang
21-08-2004