United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6321281 Auto regression testcases(sun/tools/jps/jps-*.sh) is failing.
JDK-6321281 : Auto regression testcases(sun/tools/jps/jps-*.sh) is failing.

Details
Type:
Bug
Submit Date:
2005-09-08
Status:
Closed
Updated Date:
2014-02-26
Project Name:
JDK
Resolved Date:
2005-10-25
Component:
core-svc
OS:
generic
Sub-Component:
tools
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
5.0u6
Fixed Versions:
5.0u6 (b03)

Related Reports
Backport:

Sub Tasks

Description
Auto regression testcases(sun/tools/jps/jps-*.sh) need to be modified

Testcase location:
------------------
<Regression-WS>/test/sun/tools/jps/jps-Vvml_2.sh
<Regression-WS>/test/sun/tools/jps/jps-v_1.sh
<Regression-WS>/test/sun/tools/jps/jps-vm_1.sh
JDK:
----
bash-3.00$ /export/updates/jdks/jdk1.5.0_06/bin/java -version
java version "1.5.0_06-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-ea-b02)
Java HotSpot(TM) Server VM (build 1.5.0_06-ea-b02, mixed mode)

Error details:
--------------
bash-3.00$ ksh jps-Vvml_2.sh
1734 Sleeper -Dsun.java.launcher=SUN_STANDARD
1735 sun.tools.jps.Jps -Vvml -Dapplication.home=/export/updates/jdks/jdk1.5.0_06 -Xms8m -XX:Flags=./vmflags -Dsun.java.launcher=SUN_STANDARD +DisableExplicitGC

JTREG tool shows the above testcases as Failed because '-Dsun.java.launcher=SUN_STANDARD' is added as argument.
Please See webrev at http://javaweb.sfbay/~huanghui/webrev/20050619

                                    

Comments
EVALUATION

Due to addition of property -Dsun.java.launcher=SUN_STANDARD in 5.0u6 b02, jps utility is showing this property in the output which testcase does not like.
Mustang jps utility does not show this property though we've introduced in b43.
                                     
2005-09-16



Hardware and Software, Engineered to Work Together