-
Bug
-
Resolution: Won't Fix
-
P4
-
6u10, 7, 8u20, 9
-
generic, x86
-
generic, solaris
jJps handles jar name incorrectly in case jar name is specified by relative path(for ex. current path).
How to reproduce:
download attached files into the same dir.
Execute jps_bug.sh <JAVA_HOME>
where <JAVA_HOME> is a home directory of the jdk to be tested.
There are two problems:
1. Without -l option, the output is
32289 jar
i.e. 'jar' instead of path to JAR.
2. With jps -l, full path name is not shown if argument to java -jar is relative path name even though jps documentations says:
"-l Output the full package name for the application’s main class or the full path name to the application’s JAR file."
How to reproduce:
download attached files into the same dir.
Execute jps_bug.sh <JAVA_HOME>
where <JAVA_HOME> is a home directory of the jdk to be tested.
There are two problems:
1. Without -l option, the output is
32289 jar
i.e. 'jar' instead of path to JAR.
2. With jps -l, full path name is not shown if argument to java -jar is relative path name even though jps documentations says:
"-l Output the full package name for the application’s main class or the full path name to the application’s JAR file."
- relates to
-
JDK-6174973 Process names don't appear in jps output when JNI is used to launch
-
- Closed
-
-
JDK-7012002 SA: JPS output is wrong on Windows
-
- Open
-