|
Duplicate :
|
|
|
Duplicate :
|
|
|
Duplicate :
|
|
|
Duplicate :
|
|
|
Duplicate :
|
|
|
Duplicate :
|
|
|
Duplicate :
|
|
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
|
|
Relates :
|
Application.java is passing with 142_10-b03 but failing with 142_11-b01
Testcase Location:
==================
/net/urts071.india/export6/testSuites/Regression/workspace_142/test/CTE_REGTEST/Generic/4506928
Operating System: Win XP Pro
=================
JDK:
====
java -version
java version "1.4.2_11-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-ea-b01)
Java HotSpot(TM) Client VM (build 1.4.2_11-ea-b01, mixed mode)
Steps to reproduce:
===================
1. copy attached Application.java, MainFrame.java, SecondFrame.java, Test4506928.java and jemmy.jar files into test machine.
2) Compile all .java files with tested JDK with following command:
<jdk location>/bin/javac -classpath ./jemmy.jar *.java
(Jemmy is at /net/urts071.india/export2/tools/Jemmy/jemmy.jar)
3) Start the test with the following command:
<jdk location>java Application.
4) When the main frame shows up click on "Open Form" button to bring up
the second frame.
5) Click "Choose File" to bring up FileDialog window.
6) Click "Cancel" when FileDialog shows up to close it.
7) Keep repeating steps 4 - 6 until you have 3 SecondFrames open.
8) Close all SecondFrames and press "Garbage Collect" button.
Output:
=======
Test Fails: The message below "Garbage Collect" button says:
"SecondFrame instances = 2 or 3".
Expected Behaviour:
==================
The message below "Garbage Collect" button says:
"SecondFrame instances = 0 or 1".
|