8154942: Remove ProcessTools.getVmInputArguments() from the hotspot test library, as it is not used by any of the hotspot tests
Reviewed-by: ctornqvi, hseigel
--- a/hotspot/test/testlibrary/jdk/test/lib/ProcessTools.java Tue May 03 07:23:23 2016 -0700
+++ b/hotspot/test/testlibrary/jdk/test/lib/ProcessTools.java Thu May 05 12:25:29 2016 -0400
@@ -95,22 +95,6 @@
}
/**
- * Get the string containing input arguments passed to the VM
- *
- * @return arguments
- */
- public static String getVmInputArguments() {
- RuntimeMXBean runtime = ManagementFactory.getRuntimeMXBean();
-
- List<String> args = runtime.getInputArguments();
- StringBuilder result = new StringBuilder();
- for (String arg : args)
- result.append(arg).append(' ');
-
- return result.toString();
- }
-
- /**
* Gets the array of strings containing input arguments passed to the VM
*
* @return arguments