JDK-8055684 : runtime/NMT/CommandLineEmptyArgument.java fails
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-08-20
  • Updated: 2015-06-03
  • Resolved: 2014-08-23
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 8 JDK 9
8u40Fixed 9 b30Fixed
Related Reports
Cloners :  
Description
The test expects:

-XX:NativeMemoryTracking=[off|summary|detail]

to be printed on the commandline when running:

 java -XX:NativeMemoryTracking=

instead we get the normal java.exe launcher help output.

JDK-8055051 was incorrectly resolved, this is still an issue.
Comments
This is a test bug: ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:NativeMemoryTracking="); ==> ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-XX:NativeMemoryTracking= -version");
20-08-2014