JDK-8077833 : Test java/awt/Frame/FrameStateTest/FrameStateTest.html fails to load the Iconified frame
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: linux_ubuntu
  • CPU: x86
  • Submitted: 2015-04-10
  • Updated: 2015-05-06
  • Resolved: 2015-05-06
Related Reports
Relates :  
Testsuite name:Awt Regression 
Test name:java/awt/Frame/FrameStateTest/FrameStateTest.html
Product tested:JDK9b57(64bit) 

Error log file:http://aurora.ru.oracle.com/slot-gw/761324.ManualSubmit-1/workDir/java/awt/Frame/FrameStateTest/FrameStateTest.jtr
Reproducible: Always 
Reproducible on machine: Evergreen-machine 
[If Sometimes] Also reproducible on machine: 

Is it a platform specific issue:Yes(The same build on solaris11-x64:Passed;
                                                 The same build on solaris11-sparc:Passed;
                                                 The same build on win7-x64:Passed;
                                                 The same build on ma10.9-x64:Passed)
  [If platform specific issue] Is it a new (previously unsupported) OS/browser/mode testing: 
  [If new configuration testing] Issue specific to execution mode or OS/browser version:

Steps to reproduce: 
1.Download regression workspace from http://jre.us.oracle.com/java/re/jdk/9/promoted/ea/b57/ws/jdk/ to /root/workspace/regression
 2. Install test bundle JDK9b57 (download from http://jre.us.oracle.com/java/re/jdk/9/promoted/ea/b57/bundles/linux-i586/jdk-9-ea-linux-i586.tar.gz) to /root/workspace/regression/jdk1.9.0
 3.Install stable JDK7u45b18 (download from http://jre.us.oracle.com/java/re/jdk/7u45/promoted/fcs/b18/bundles/linux-i586/jdk-7u45-linux-i586.tar.gz) to /root/workspace/regression/jdk1.7.0_45
 4.download and unzip Jtreg from http://jre.us.oracle.com/java/re/jtreg/4.1/promoted/fcs/b09/bundles/jtreg_bin-4.1-fcs-bin-b09_28_mar_2014.zip locate at /root/workspace/regression
5.Create the script regression.sh as follows and run it 
export JT_JAVA=/root/workspace/regression/jdk1.7.0_45
/root/workspace/regression/jtreg/linux/bin/jtreg -v -m -vmoptions:"-client -Dswing.defaultlaf=javax.swing.plaf.metal.MetalLookAndFeel" -ignore:quiet -jdk:/root/workspace/regression/jdk1.9.0 -r:/root/workspace/regression/results/reportDir -w:/root/workspace/regression/results/workDir /root/workspace/regression/ws/jdk/test/java/awt/Frame/FrameStateTest/FrameStateTest.html
Case Instruction: 
Steps to try to reproduce this problem:When this test is run an Applet Viewer window will display. In the
Applet Viewer window select the different options for the Frame (i.e.{Normal, Non-resizalbe}, {Normal,Resizable}, {Iconified, Resizable},{Iconified, Non-resizalbe}). After chosing the Frame's state click the Create Frame button. After the Frame (Frame State Test (Window2)) comesup make sure the proper behavior occurred (Frame shown in proper state).Click the Dispose button to close the Frame. Do the above steps for allthe different Frame state combinations available. If you observe the proper behavior the test has passed, Press the Pass button. Otherwise the test has failed, Press the Fail button.
Note: In Frame State Test (Window2) you can also chose the different buttons to see different Frame behavior. An example of a problem that has been seen, With the Frame nonresizable you can not iconify the Frame.
Actual behavior:
1.When selecting the {Iconified, Resizable},{Iconified, Non-resizalbe},or clicking the "hide,iconify and show" button,we can't find the Iconified frame in the toolbar,refer to status.jpg.
2.We try clicking the Java Icon two times,the frame which we creat can be show,refer to status-show.jpg.
RULE java/awt/Frame/FrameStateTest/FrameStateTest any any