Java Solaris Communities Sun Store Join SDN My Profile Why Join?
 
Bug Database
Bug Detail
Quick Lists
Top 25 Bugs
Top 25 RFE's
Recently Closed Bugs
Printable Page Printable Page


Bug Database
Bug ID: 6592928
Votes 0
Synopsis Regression test PrintSubInputStream/Example.java fails under jtreg harness
Category java:classes_2d
Reported Against
Release Fixed 7(b20)
State 10-Fix Delivered, bug
Priority: 4-Low
Related Bugs
Submit Date 14-AUG-2007
Description
The problems:

The test PrintSubInputStream/Example.java fails under jtreg.
The error is: Failed. Unexpected exit from test.

But when I run the standalone test, it runs OK.
The jtreg version we used is 2.1.6.

The test is in:
/java/re/jdk/6u3/promoted/latest/ws/j2se/test/javax/print/PrintSubInputStream/Example.java

How to reproduce:
1, set JAVA_HOME 
2, using the script to run it.

JAVA_HOME="JAVA_HOME"

/net/cady.sfbay/export/dtf/unified/knight-ws/suites/regression/jct-tools/2.1.6/archive/fcs/binaries/solaris/bin/jtreg \
-cpa:/net/cady.sfbay/export/dtf/unified/knight-ws/suites/regression/sail16/Jemmy/jemmy.jar \
-r:./regWork \
-w:./regWork \
/java/re/jdk/6u3/promoted/latest/ws/j2se/test/javax/print/PrintSubInputStream/Example.java

you will see the test fails.
Posted Date : 2007-08-14 23:13:09.0
Work Around
N/A
Evaluation
The test should not call System.exit(0).
NB It appears to be a very old test bug (5 years old).
Posted Date : 2007-08-14 23:30:42.0
Comments
  
  Include a link with my name & email   


PLEASE NOTE: JDK6 is formerly known as Project Mustang