JDK-6714611 : TEST_BUG: CTE_REGTEST/Generic/4092033/Test4092033.java fails
  • Type: Bug
  • Component: other-libs
  • Sub-Component: other
  • Affected Version: 6u10
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris
  • CPU: generic
  • Submitted: 2008-06-13
  • Updated: 2013-06-27
  • Resolved: 2012-10-11
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
6u60 b01Fixed
Related Reports
Relates :  
Description
Platform Tested     : Solaris 10 Sparc 64-bit
		      
Failing Test [s]    : CTE_REGTEST/Generic/4092033/Test4092033.java

    Test output:
    ============
----------System.out:(14/822)----------
  created: META-INF/
 inflated: META-INF/MANIFEST.MF
  created: activationtest/
 inflated: activationtest/DummyOrderPanel.java
 inflated: activationtest/DummyOrderPanelGUI.java
  created: activationtest/forms/
 inflated: activationtest/forms/DummyOrderPanel.gml
  created: activationtest/images/
Trace:
Start to wait action "Wait Any javax.swing.JPopupMenu loaded"
Trace:
"Wait Any javax.swing.JPopupMenu loaded" action has been produced in 4 milliseconds with result
    : javax.swing.JPopupMenu[,0,0,137x89,layout=javax.swing.plaf.basic.DefaultMenuLayout,alignmentX=0.0,alignmentY=0.0,border=javax.swing.plaf.metal.MetalBorders$PopupMenuBorder@11cc367,flags=264,maximumSize=,minimumSize=,preferredSize=,desiredLocationX=200,desiredLocationY=200,label=,lightWeightPopupEnabled=true,margin=,paintBorder=true]
Test Failed
----------System.err:(27/1628)----------
BIT_FLAG=
+ uname -s
OS=SunOS
NULL=/dev/null
PS=:
FS=/
FILE_LOCATION=/home1/dtftest
+ [ -f /home1/dtftest/JDK64BIT -a SunOS = SunOS ]
CLASSPATH=.:/net/sqenfs-2/export2/results/regression/1.6.0_10/b25-2/cte-Sparc10-64/workDir/classes/CTE_REGTEST/Generic/4092033
+ export CLASSPATH
JEMMYPATH=/net/sqenfs-2/export2/stt/cady_dtf/unified/knight-ws/suites/regression/Jemmy/jemmy.jar
+ pwd
THIS_DIR=/net/sqenfs-2/export2/results/regression/1.6.0_10/b25-2/cte-Sparc10-64/workDir/scratch
+ /java/re/jdk/6u10/latest/binaries/solaris-sparcv9/bin/jar -xvf /net/sqenfs-1/export1/comp/regression/cte-test1/test/CTE_REGTEST/Generic/4092033/activationtest.jar
+ /java/re/jdk/6u10/latest/binaries/solaris-sparcv9/bin/java -fullversion
java full version "1.6.0_10-beta-b25"
+ cd activationtest
+ /java/re/jdk/6u10/latest/binaries/solaris-sparcv9/bin/javac DummyOrderPanel.java DummyOrderPanelGUI.java
Note: DummyOrderPanelGUI.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: DummyOrderPanelGUI.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
+ cd ..
+ chmod -fR 777 META-INF activationtest
+ /java/re/jdk/6u10/latest/binaries/solaris-sparcv9/bin/javac -d . -classpath .:/net/sqenfs-2/export2/stt/cady_dtf/unified/knight-ws/suites/regression/Jemmy/jemmy.jar /net/sqenfs-1/export1/comp/regression/cte-test1/test/CTE_REGTEST/Generic/4092033/Test4092033.java
+ /java/re/jdk/6u10/latest/binaries/solaris-sparcv9/bin/java -classpath .:/net/sqenfs-2/export2/stt/cady_dtf/unified/knight-ws/suites/regression/Jemmy/jemmy.jar Test4092033
+ exit 1
result: Failed. Execution failed: exit code 1

Comments
Verified 6u60 b01
18-06-2013

fixed in 6ux_j2se (cte regtests) mercurial repo
11-10-2012

EVALUATION We used to incorrectly select the first item in the popup menu, and it was fixed with the CR 6217905 The Test4092033 should take it into account, the first item can be selected with the mouse or by pressing the down key arrow This CR is closed as not a bug
21-07-2008

EVALUATION Attached a standalone testcase. The testcase displayes a frame. Just click by mouse in the center of the frame, a popup menu is shown, there is no selected items in the popup menu if I run the test using latest jdk7 build. Running the test using any build before jdk7 b19 selects an item in the popup menu when displaying the popup menu. This looks like a regression introduced by one of the fixes related to JPopupMenu area. I'm transferring the bug to Swing for futher evaluation.
21-07-2008