-
Bug
-
Resolution: Fixed
-
P2
-
5.0
-
b32
-
generic
-
generic
-
Verified
Name: iaR10016 Date: 11/16/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b28
(passes with JDK1.5.0-b26, JDK1.4.2-b28)
JCK : JCK1.5-runtime (b08)
Platform[s] : all
switch/Mode : default
JCK test owner : http://javaweb.eng/jck/usr/owners.jto
Falling test[s]: api/java_awt/GridBagLayout/index.html#GetLayoutWeights [GridBagLayout2013]
Test source location:
=====================
/java/re/jck/1.5/promoted/latest/binaries/JCK-runtime-15/tests/api/java_awt/GridBagLayout/GetLayoutWeightsTests.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results.2/tiger/b28/jck15/x86/sol10_x86_gnome_server_linux-18/workDir/api/java_awt/GridBagLayout/index_GetLayoutWeights.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/bash
#Paths in Java Software:
JDK="/java/re/jdk/1.5.0/promoted/all/b28/binaries/solaris-i586"
JCK="/java/re/jck/1.5/promoted/beta/b04/binaries/JCK-runtime-15"
#Alternative paths outside Java Software:
#JDK="/net/koori.sfbay/onestop/jdk/1.5.0/promoted/all/b28/binaries/solaris-i586"
#JCK="/net/koori.sfbay/onestop/jck/1.5/promoted/beta/b04/binaries/JCK-runtime-15"
export CLASSPATH="$JCK/classes:$JCK/lib/javatest.jar"
$JDK/bin/java -showversion javasoft.sqe.tests.api.java.awt.GridBagLayout.GetLayoutWeightsTests -TestCaseID GridBagLayout2013
--- script end ---
Test output:
============
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b28)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b28, mixed mode)
java.lang.ArrayIndexOutOfBoundsException
at java.lang.System.arraycopy(Native Method)
at java.awt.GridBagLayout.GetLayoutInfo(GridBagLayout.java:1074)
at java.awt.GridBagLayout.getLayoutInfo(GridBagLayout.java:827)
at java.awt.GridBagLayout.ArrangeGrid(GridBagLayout.java:1440)
at java.awt.GridBagLayout.arrangeGrid(GridBagLayout.java:1400)
at java.awt.GridBagLayout.layoutContainer(GridBagLayout.java:723)
at java.awt.Container.layout(Container.java:1424)
at java.awt.Container.doLayout(Container.java:1414)
at javasoft.sqe.tests.api.java.awt.GridBagLayout.GetLayoutWeightsTests.GridBagLayout2013(GetLayoutWeightsTests.java:159)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:326)
at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:399)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:195)
at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:127)
at javasoft.sqe.tests.api.java.awt.GridBagLayout.GetLayoutWeightsTests.main(GetLayoutWeightsTests.java:24)
GridBagLayout2013: Failed. Test case throws exception: java.lang.ArrayIndexOutOfBoundsException
STATUS:Failed.test cases: 1; all failed; first test case failure: GridBagLayout2013
Specific machine info:
======================
Hostname: linux-1
OS: Solaris 8 (sparc) (CDE)
Hostname: linux-18
OS: Solaris 10 (x86) (GNOME)
Hostname: linux-21
OS: Windows XP Home
Hostname: linux-24
OS: RedHat Advanced Server 2.1 (Gnome)
======================================================================