JDK-6849274 : closed/javax/swing/text/html/parser/Parser/ParserTest/ParserTest.java fails with RuntimeException
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 7
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: solaris_10
  • CPU: sparc
  • Submitted: 2009-06-09
  • Updated: 2011-01-24
  • Resolved: 2010-05-24
Related Reports
Duplicate :  
Description
Bug Info
========
closed/javax/swing/text/html/parser/Parser/ParserTest/ParserTest.java fails on solaris 10 sparc and winxp platforms with the following exception.

java.lang.RuntimeException: Some test cases failed
	at ParserTest.report(ParserTest.java:137)
	at ParserTest.test(ParserTest.java:115)
	at ParserTest.main(ParserTest.java:278)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:623)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:717)

For more information please look at the attached test log file.

JDK Info
=========
java version "1.7.0-internal"
Java(TM) SE Runtime Environment (build 1.7.0-internal-jprtadm_2009_06_01_01_13-b00)
Java HotSpot(TM) Server VM (build 16.0-b03, mixed mode)

Steps to reproduce
===================
Set the following envrionment and run the test.

1. Set JTREG PATH
2. Set JDK HOME
3. Set WORK DIR and REPORT DIR
4. Set the SUITE(ex: SUITE=/net/sqindia.india/export/disk01/vinay/src/jdk/test/closed/javax/swing/text/html/parser/Parser/ParserTest/ParserTest.java)
5. Run the following command once set the above environment.
ksh ${JTREG_PATH}/bin/jtreg -v -jdk:${JDK_HOME} -r:${REPORT_DIR} -w:${WORK_DIR} ${SUITE}