-
Bug
-
Resolution: Cannot Reproduce
-
P3
-
None
-
5.0
-
generic
-
generic
Name: aaR10208 Date: 04/10/2003
Filed By : J2SE-SQA [###@###.###
JDK : JDK1.5.0-b04
Testbase : RegTest-test
Platform[s] : generic
Falling test[s]: javax/swing/text/DefaultCaret/4476714/bug4476714.java
This test tries to verify the bugfix which is not yet integrated nor fixed, so the test fails.
Test source location:
=====================
/java/re/jdk/1.5.0/promoted/latest/ws/j2se/test/javax/swing/text/DefaultCaret/4476714/bug4476714.java
jtr file location:
==================
/net/jtgb4u4c.sfbay/export/sail15/results/tiger/b04/regtest/win32/winXP_PRO_-server_smp_linux-16/workDir/test/javax/swing/text/DefaultCaret/4476714/bug4476714.jtr
How to reproduce:
=================
Run the following script (you may need to change its variables)
--- script start ---
#!/bin/sh
TESTBASE=k:/regtest.tiger/test
JDK=c:/j2sdk1.5.0
#JDK=h:/java/jdk1.5.0/win32.b03
cp $TESTBASE/javax/swing/text/DefaultCaret/4476714/bug4476714.java .
cp $TESTBASE/javax/swing/regtesthelpers/JRobot.java .
cp $TESTBASE/javax/swing/regtesthelpers/Util.java .
$JDK/bin/javac *.java
$JDK/bin/java -showversion bug4476714
--- script end ---
Script output:
==============
java version "1.5.0-beta"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b04)
Java HotSpot(TM) Client VM (build 1.5.0-beta-b04, mixed mode)
Viewport: java.awt.Rectangle[x=0,y=608,width=97,height=48]
Viewport: java.awt.Rectangle[x=0,y=624,width=97,height=48]
Exception in thread "main" java.lang.RuntimeException: Test failed.
at bug4476714.<init>(bug4476714.java:72)
at bug4476714.main(bug4476714.java:77)
Test output (jtr part):
=======================
----------System.out:(2/120)----------
Viewport: java.awt.Rectangle[x=0,y=608,width=97,height=48]
Viewport: java.awt.Rectangle[x=0,y=624,width=97,height=48]
----------System.err:(14/744)----------
java.lang.RuntimeException: Test failed.
at bug4476714.(bug4476714.java:72)
at bug4476714.main(bug4476714.java:77)
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:324)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:82)
at java.lang.Thread.run(Thread.java:534)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed.
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed.
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed.
test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: Test failed.
Specific machine info:
======================
Hostname: linux-16
OS: Windows XP Pro
======================================================================
- relates to
-
JDK-4476714 DefaultCaret causes spurious scrolling in multi-line text components
-
- Closed
-