JDK-6332311 : jps does not work if username contains an underscore
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 5.0
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2005-10-04
  • Updated: 2010-10-07
  • Resolved: 2005-10-13
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.
JDK 6
6Resolved
Related Reports
Duplicate :  
Description
A user whose username contains an _ cannot use tools such as jps.  Existing code assumes that it can derive the username from a filename such as /tmp/hsperfdata_noddy by taking everything from the last _ onwards.  So if your username is big_ears it will incorrectly reduce /tmp/hsperfdata_big_ears to "ears".  The end result is that jps shows the pid but lists "process information unavailable" next to it.  jconsole doesn't show the app at all.
It's a dup of 6301562.

Comments
EVALUATION Should fix this in Mustang.
05-10-2005