JDK-8292235 : jcmd VM.info is lacking tests
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 8,11,17
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2022-08-11
  • Updated: 2022-09-29
  • Resolved: 2022-09-29
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.
Other
tbdResolved
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
The jcmd "VM.info" command is not being tested anywhere in the test base. It should at least be tested to be executed correctly and print out something that looks kind of right.
Comments
It's now been backported to 17 and 11 so I'm closing as duplicate.
29-09-2022

That's true. I'm considering backporting that one, or splitting it up to also have a pure VM.info test and then backporting.
11-08-2022

In mainline there is a basic test added under JDK-8284331 within jdk/sun/tools/jcmd/TestJcmdSanity.java
11-08-2022