JDK-8225543 : Jcmd fails to attach to the Java process on Linux using the main class name if whitespace options were used to launch the process
  • Type: Bug
  • Component: core-svc
  • Sub-Component: tools
  • Affected Version: 13
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • Submitted: 2019-06-10
  • Updated: 2020-06-01
  • Resolved: 2019-06-14
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 11 JDK 13 JDK 14
11.0.5Fixed 13Fixed 14 b01Fixed
Related Reports
Duplicate :  
Relates :  
Description
On Linux platform jcmd fails to find the Java process by the main class name if the Java process was started with Java options that contain whitespaces ( e.g. -Dtest.property="aaa bbb"), or if module whitespace options (--add-opens, --add-exports,--add-reads, --add-modules, --patch-module,--limit-modules, or --upgrade-module-path) were used.
Comments
Fix request (11u): This fix should be pushed together with 8205654 which was already approved, as advised by the developers: https://mail.openjdk.java.net/pipermail/jdk-updates-dev/2019-July/001522.html The patch applies cleanly and stabilizes the tests.
05-08-2019

hgupdate HG Updates added a comment - Yesterday URL: http://hg.openjdk.java.net/jdk/jdk/rev/2f4e214781a1 User: dtitov Date: 2019-06-13 18:25:19 +0000
14-06-2019