-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.4.0
-
None
-
generic
-
generic
al.smith@eng 2000-07-10
=======================
Please run the following script to reproduce the failure:
/net/sqesvr.eng/export/st3/jdk1.4/bugs/<thisbugid>/runit.sh
Test case can be found in:
/net/sqesvr/export/st1/JCK-13/tests/api/javax_swing/text/ZoneView/
JDK version: Merlin B20
JCK version: JCK13
Test:
javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd CLASSPATH=Z:\\st1\\JCK-13\\tests/../classes;Z:\\st1\\JCK-13\\javatest.jar PATH=Z:\\st1\\JCK-13\\tests\\..\\lib\\win32; SystemRoot=c:\\winnt c:\\jdk14\\bin\\java -Xfuture -Djava.security.policy=policy.tmp javasoft.sqe.tests.api.javax.swing.text.ZoneView.miscTests
Output from the jtr file:
=========================
#Test Results (version 2)
#Mon Jun 26 18:15:42 PDT 2000
#checksum:972225778289197
#-----testdescription-----
$file=Z:\\st1\\JCK-13\\tests\\api\\javax_swing\\text\\ZoneView\\index.html
$root=Z:\\st1\\JCK-13\\tests
executeClass=javasoft.sqe.tests.api.javax.swing.text.ZoneView.miscTests
id=misc
keywords=javax positive runtime swing text
source=miscTests.java StubZoneView.java StubZoneUI.java StubElement.java StubBranchElement.java StubLeafElement.java
title=ZoneView misc() methods tests
#-----environment-----
EXECUTE_CLASSPATH=$testSuiteRootDir/../classes$:$javatestClassDir
EXECUTE_FLAGS=
EXECUTE_JAVA=c:\\jdk14\\bin\\java
EXE_PATH=${LDLIBPATH};$PATH
ExecJCKTestOtherJVMCmd=javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd
LDLIBPATH=$testSuiteRootDir\\..\\lib\\win32
SYSTEMROOT=c:\\winnt
command.testExecute=$ExecJCKTestOtherJVMCmd CLASSPATH=${EXECUTE_CLASSPATH} PATH=${EXE_PATH} SystemRoot=$SYSTEMROOT ${EXECUTE_JAVA} ${EXECUTE_FLAGS} -Xfuture -Djava.security.policy=policy.tmp $testExecuteClass $testExecuteArgs
#-----testresult-----
description=file:Z:/st1/JCK-13/tests/api/javax_swing/text/ZoneView/index.html#misc
end=Mon Jun 26 18:15:42 PDT 2000
environment=jck-runtime-winNT
execStatus=Failed. tests: 7; passed: 4; failed: 3; first test case failure: ZoneView2002
javatestOS=Windows 2000 5.0 (x86)
javatestVersion=JT_2.1.2j
script=javasoft.sqe.javatest.lib.JCKScript -runtime
sections=script_messages testExecute
start=Mon Jun 26 18:15:39 PDT 2000
status=Failed. tests: 7; passed: 4; failed: 3; first test case failure: ZoneView2002
test=api/javax_swing/text/ZoneView/index.html#misc
timeoutSeconds=600
work=C:\\qavectra-jdk14-jck13-xcomp\\api\\javax_swing\\text\\ZoneView
#section:script_messages
----------messages:(1/25)----------
Executing test class...
#section:testExecute
----------messages:(1/322)*----------
command: javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd CLASSPATH=Z:\\st1\\JCK-13\\tests/../classes;Z:\\st1\\JCK-13\\javatest.jar PATH=Z:\\st1\\JCK-13\\tests\\..\\lib\\win32; SystemRoot=c:\\winnt c:\\jdk14\\bin\\java -Xfuture -Djava.security.policy=policy.tmp javasoft.sqe.tests.api.javax.swing.text.ZoneView.miscTests
----------ref:(7/456)----------
=== protected View createZone(int p0, int p1) ===
=== protected void loadChildren(ViewFactory f) ===
=== protected boolean isZoneLoaded(View zone) ===
=== protected int getViewIndexAtPosition(int pos) ===
=== protected void unloadZone(View zone) ===
=== public void insertUpdate(DocumentEvent changes, Shape a, ViewFactory f) ===
=== protected boolean updateChildren(DocumentEvent.ElementChange ec, DocumentEvent e, ViewFactory f) ===
----------log:(38/2573)----------
ZoneView2001: Passed. OKAY
java.lang.ArrayIndexOutOfBoundsException
at javax.swing.text.CompositeView.getView(CompositeView.java:146)
at javax.swing.text.ZoneView.handleInsert(ZoneView.java:248)
at javax.swing.text.ZoneView.loadChildren(ZoneView.java:218)
at javasoft.sqe.tests.api.javax.swing.text.ZoneView.StubZoneView.loadChildren(StubZoneView.java:30)
at javasoft.sqe.tests.api.javax.swing.text.ZoneView.miscTests.ZoneView2002(miscTests.java:97)
at java.lang.reflect.Method.invoke(Native Method)
at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
at javasoft.sqe.tests.api.javax.swing.text.ZoneView.miscTests.main(miscTests.java:37)
ZoneView2002: Failed. Test case throws exception: java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
at javax.swing.text.CompositeView.getView(CompositeView.java:146)
at javax.swing.text.ZoneView.handleInsert(ZoneView.java:248)
at javax.swing.text.ZoneView.loadChildren(ZoneView.java:218)
at javasoft.sqe.tests.api.javax.swing.text.ZoneView.StubZoneView.loadChildren(StubZoneView.java:30)
at javasoft.sqe.tests.api.javax.swing.text.ZoneView.miscTests.ZoneView2003(miscTests.java:133)
at java.lang.reflect.Method.invoke(Native Method)
at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
at javasoft.sqe.tests.api.javax.swing.text.ZoneView.miscTests.main(miscTests.java:37)
ZoneView2003: Failed. Test case throws exception: java.lang.ArrayIndexOutOfBoundsException
ZoneView2004: Passed. OKAY
java.lang.ArrayIndexOutOfBoundsException
at javax.swing.text.CompositeView.getView(CompositeView.java:146)
at javax.swing.text.ZoneView.handleInsert(ZoneView.java:248)
at javax.swing.text.ZoneView.loadChildren(ZoneView.java:218)
at javasoft.sqe.tests.api.javax.swing.text.ZoneView.StubZoneView.loadChildren(StubZoneView.java:30)
at javasoft.sqe.tests.api.javax.swing.text.ZoneView.miscTests.ZoneView2005(miscTests.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
at javasoft.sqe.tests.api.javax.swing.text.ZoneView.miscTests.main(miscTests.java:37)
ZoneView2005: Failed. Test case throws exception: java.lang.ArrayIndexOutOfBoundsException
ZoneView2007: Passed. OKAY
ZoneView2008: Passed. OKAY
STATUS:Failed. tests: 7; passed: 4; failed: 3; first test case failure: ZoneView2002
result: Failed. tests: 7; passed: 4; failed: 3; first test case failure: ZoneView2002
test result: Failed. tests: 7; passed: 4; failed: 3; first test case failure: ZoneView2002
=======================
Please run the following script to reproduce the failure:
/net/sqesvr.eng/export/st3/jdk1.4/bugs/<thisbugid>/runit.sh
Test case can be found in:
/net/sqesvr/export/st1/JCK-13/tests/api/javax_swing/text/ZoneView/
JDK version: Merlin B20
JCK version: JCK13
Test:
javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd CLASSPATH=Z:\\st1\\JCK-13\\tests/../classes;Z:\\st1\\JCK-13\\javatest.jar PATH=Z:\\st1\\JCK-13\\tests\\..\\lib\\win32; SystemRoot=c:\\winnt c:\\jdk14\\bin\\java -Xfuture -Djava.security.policy=policy.tmp javasoft.sqe.tests.api.javax.swing.text.ZoneView.miscTests
Output from the jtr file:
=========================
#Test Results (version 2)
#Mon Jun 26 18:15:42 PDT 2000
#checksum:972225778289197
#-----testdescription-----
$file=Z:\\st1\\JCK-13\\tests\\api\\javax_swing\\text\\ZoneView\\index.html
$root=Z:\\st1\\JCK-13\\tests
executeClass=javasoft.sqe.tests.api.javax.swing.text.ZoneView.miscTests
id=misc
keywords=javax positive runtime swing text
source=miscTests.java StubZoneView.java StubZoneUI.java StubElement.java StubBranchElement.java StubLeafElement.java
title=ZoneView misc() methods tests
#-----environment-----
EXECUTE_CLASSPATH=$testSuiteRootDir/../classes$:$javatestClassDir
EXECUTE_FLAGS=
EXECUTE_JAVA=c:\\jdk14\\bin\\java
EXE_PATH=${LDLIBPATH};$PATH
ExecJCKTestOtherJVMCmd=javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd
LDLIBPATH=$testSuiteRootDir\\..\\lib\\win32
SYSTEMROOT=c:\\winnt
command.testExecute=$ExecJCKTestOtherJVMCmd CLASSPATH=${EXECUTE_CLASSPATH} PATH=${EXE_PATH} SystemRoot=$SYSTEMROOT ${EXECUTE_JAVA} ${EXECUTE_FLAGS} -Xfuture -Djava.security.policy=policy.tmp $testExecuteClass $testExecuteArgs
#-----testresult-----
description=file:Z:/st1/JCK-13/tests/api/javax_swing/text/ZoneView/index.html#misc
end=Mon Jun 26 18:15:42 PDT 2000
environment=jck-runtime-winNT
execStatus=Failed. tests: 7; passed: 4; failed: 3; first test case failure: ZoneView2002
javatestOS=Windows 2000 5.0 (x86)
javatestVersion=JT_2.1.2j
script=javasoft.sqe.javatest.lib.JCKScript -runtime
sections=script_messages testExecute
start=Mon Jun 26 18:15:39 PDT 2000
status=Failed. tests: 7; passed: 4; failed: 3; first test case failure: ZoneView2002
test=api/javax_swing/text/ZoneView/index.html#misc
timeoutSeconds=600
work=C:\\qavectra-jdk14-jck13-xcomp\\api\\javax_swing\\text\\ZoneView
#section:script_messages
----------messages:(1/25)----------
Executing test class...
#section:testExecute
----------messages:(1/322)*----------
command: javasoft.sqe.javatest.lib.ExecJCKTestOtherJVMCmd CLASSPATH=Z:\\st1\\JCK-13\\tests/../classes;Z:\\st1\\JCK-13\\javatest.jar PATH=Z:\\st1\\JCK-13\\tests\\..\\lib\\win32; SystemRoot=c:\\winnt c:\\jdk14\\bin\\java -Xfuture -Djava.security.policy=policy.tmp javasoft.sqe.tests.api.javax.swing.text.ZoneView.miscTests
----------ref:(7/456)----------
=== protected View createZone(int p0, int p1) ===
=== protected void loadChildren(ViewFactory f) ===
=== protected boolean isZoneLoaded(View zone) ===
=== protected int getViewIndexAtPosition(int pos) ===
=== protected void unloadZone(View zone) ===
=== public void insertUpdate(DocumentEvent changes, Shape a, ViewFactory f) ===
=== protected boolean updateChildren(DocumentEvent.ElementChange ec, DocumentEvent e, ViewFactory f) ===
----------log:(38/2573)----------
ZoneView2001: Passed. OKAY
java.lang.ArrayIndexOutOfBoundsException
at javax.swing.text.CompositeView.getView(CompositeView.java:146)
at javax.swing.text.ZoneView.handleInsert(ZoneView.java:248)
at javax.swing.text.ZoneView.loadChildren(ZoneView.java:218)
at javasoft.sqe.tests.api.javax.swing.text.ZoneView.StubZoneView.loadChildren(StubZoneView.java:30)
at javasoft.sqe.tests.api.javax.swing.text.ZoneView.miscTests.ZoneView2002(miscTests.java:97)
at java.lang.reflect.Method.invoke(Native Method)
at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
at javasoft.sqe.tests.api.javax.swing.text.ZoneView.miscTests.main(miscTests.java:37)
ZoneView2002: Failed. Test case throws exception: java.lang.ArrayIndexOutOfBoundsException
java.lang.ArrayIndexOutOfBoundsException
at javax.swing.text.CompositeView.getView(CompositeView.java:146)
at javax.swing.text.ZoneView.handleInsert(ZoneView.java:248)
at javax.swing.text.ZoneView.loadChildren(ZoneView.java:218)
at javasoft.sqe.tests.api.javax.swing.text.ZoneView.StubZoneView.loadChildren(StubZoneView.java:30)
at javasoft.sqe.tests.api.javax.swing.text.ZoneView.miscTests.ZoneView2003(miscTests.java:133)
at java.lang.reflect.Method.invoke(Native Method)
at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
at javasoft.sqe.tests.api.javax.swing.text.ZoneView.miscTests.main(miscTests.java:37)
ZoneView2003: Failed. Test case throws exception: java.lang.ArrayIndexOutOfBoundsException
ZoneView2004: Passed. OKAY
java.lang.ArrayIndexOutOfBoundsException
at javax.swing.text.CompositeView.getView(CompositeView.java:146)
at javax.swing.text.ZoneView.handleInsert(ZoneView.java:248)
at javax.swing.text.ZoneView.loadChildren(ZoneView.java:218)
at javasoft.sqe.tests.api.javax.swing.text.ZoneView.StubZoneView.loadChildren(StubZoneView.java:30)
at javasoft.sqe.tests.api.javax.swing.text.ZoneView.miscTests.ZoneView2005(miscTests.java:193)
at java.lang.reflect.Method.invoke(Native Method)
at javasoft.sqe.jck.lib.MultiTest.runTests(MultiTest.java:139)
at javasoft.sqe.jck.lib.MultiTest.run(MultiTest.java:101)
at javasoft.sqe.tests.api.javax.swing.text.ZoneView.miscTests.main(miscTests.java:37)
ZoneView2005: Failed. Test case throws exception: java.lang.ArrayIndexOutOfBoundsException
ZoneView2007: Passed. OKAY
ZoneView2008: Passed. OKAY
STATUS:Failed. tests: 7; passed: 4; failed: 3; first test case failure: ZoneView2002
result: Failed. tests: 7; passed: 4; failed: 3; first test case failure: ZoneView2002
test result: Failed. tests: 7; passed: 4; failed: 3; first test case failure: ZoneView2002
- duplicates
-
JDK-4350386 Element offsets need improved specification
-
- Resolved
-