JDK-4846173 : TEST_BUG: Regression test javax/swing/text/DefaultCaret/4476714/bug4476714.java
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Cannot Reproduce
  • OS: generic
  • CPU: generic
  • Submitted: 2003-04-10
  • Updated: 2003-05-07
  • Resolved: 2003-05-07
Related Reports
Relates :  
Description

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


======================================================================

Comments
EVALUATION Name: anR10225 Date: 04/10/2003 the fix and the regression test for the bug 4476714 was rolled back. So currently the bug is not reproducible. ======================================================================
11-06-2004