JDK-6321281 : Auto regression testcases(sun/tools/jps/jps-*.sh) is failing.
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 5.0u6
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-09-08
  • Updated: 2014-02-26
  • Resolved: 2005-10-25
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Auto regression testcases(sun/tools/jps/jps-*.sh) need to be modified

Testcase location:
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

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.