-
Bug
-
Resolution: Fixed
-
P3
-
1.4.2
-
b04
-
x86, sparc, itanium
-
linux, solaris_8, solaris_9, windows_98, windows_nt, windows_2000
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2152892 | OpenJDK6 | Andrei Dmitriev | P3 | Resolved | Fixed | b03 |
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.4.2-b08, JDK1.4.0, JDK1.4.1
JCK : JCK1.4a-runtime
Platform[s] : Windows 98, RedHat Linux 7.3, Solaris Sparc, Solaris intel
switch/Mode : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]:
api/java_awt/interactive/FlowLayoutTests.html#FlowLayoutTests [FlowLayoutTest0002]
api/java_awt/interactive/CardLayoutTests.html#CardLayoutTests [CardLayoutTest0003]
Two JCK1.4a-runtime tests fail on JDK1.4.0, JDK1.4.1, JDK1.4.2.
SetVgap(int) and setHgap(int) methods for FlowLayout and CardLayout do not work as expected
if their integer parameters are big enough.
Please do the following to see the failure:
1. Run api/java_awt/interactive/FlowLayoutTests.html#FlowLayoutTests [FlowLayoutTest0002]
testcase. Set "setHgap" parameter to 10 000 and click "setHgap" button. All the tested components
are visible in the tested frame. Their location is OK now. Maximize and then minimize test
window. There are no components in the tested frame. It is also inpossible to click "Yes"/"No"
buttons or change "setHgap"/"setVgap" parameters now.
Please, note that if you set Hgap to 100 000, test window behaves correctly.
Testcase api/java_awt/interactive/CardLayoutTests.html#CardLayoutTests [CardLayoutTest0003]
fails with the same way but with another parameters (for example, try to set Hgap to 100 000 and
maximize/minimize tested window for this test: "Yes"/"No" buttons will disappear).
2. In both tests setting Hgap or Vgap to 2147483647 (max integer number) has the same visible
effect as setting these parameters to 0.
Test source location:
=====================
/java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a/tests/api/java_awt/interactive/FlowLayoutTests.java
/java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a/tests/api/java_awt/interactive/CardLayoutTests.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/jck14a/win32/win98_client_XUseParallelGC_linux-17/workDir/api-interactive/java_awt/interactive/FlowLayoutTests_FlowLayoutTests.jtr
/net/jtgb4u4c.sfbay/export/sail15/results/mantis/b08/jck14a/win32/win98_client_XUseParallelGC_linux-17/workDir/api-interactive/java_awt/interactive/CardLayoutTests_CardLayoutTests.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/bash
JCK="/java/re/jck/1.4a/promoted/fcs/binaries/JCK-runtime-14a"
JDK="/net/jdk/export/disk8/local.java/jdk1.4/linux-i386"
export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
$JDK/bin/java javasoft.sqe.tests.api.java.awt.interactive.FlowLayoutTests -TestCaseID FlowLayoutTest0002
$JDK/bin/java javasoft.sqe.tests.api.java.awt.interactive.CardLayoutTests -TestCaseID CardLayoutTest0003
--- script end ---
Specific machine info:
======================
Hostname: linux-17
OS: Windows 98
Hostname: linux-19
OS: RedHat Linux 7.3 (GNOME)
======================================================================
- backported by
-
JDK-2152892 Two JCK1.4a api/java/awt/interactive tests fail
- Resolved
- duplicates
-
JDK-4791147 JCK1.4a-runtime api/java_awt/interactive/GridLayoutTests.html#GridLayoutTests fa
- Closed
- relates to
-
JDK-4786133 JCK1.4a-runtime api/java_awt/interactive/TextAreaTests.html#TextAreaTests fails
- Open
-
JDK-4786415 JCK1.4a-runtime api/javax_swing/interactive/JPMenuTests.html#JPMenuTests fails
- Resolved
-
JDK-4784730 JCK1.4a-runtime api/java_awt/interactive/ScrollbarTests.html#ScrollbarTests fail
- Closed
-
JDK-4791148 JCK1.4a-runtime api/java_awt/interactive/InsetsTest.html#InsetsTest failed
- Closed
-
JDK-5086593 Java AWT panel cannot display more than 1820 canvas objects
- Closed