hotspot/test/serviceability/logging/TestLogRotation.java
changeset 38195 d317aafcc87c
parent 37477 0ca0b7388bb6
child 40631 ed82623d7831
--- a/hotspot/test/serviceability/logging/TestLogRotation.java	Wed May 04 23:45:10 2016 +0000
+++ b/hotspot/test/serviceability/logging/TestLogRotation.java	Wed May 04 21:53:01 2016 -0400
@@ -75,7 +75,7 @@
         ArrayList<String> args = new ArrayList();
         String[] logOpts = new String[]{
             "-cp", System.getProperty("java.class.path"),
-            "-Xlog:gc=debug:" + logFileName + "::filesize=" + logFileSizeK + ",filecount=" + numberOfFiles,
+            "-Xlog:gc=debug:" + logFileName + "::filesize=" + logFileSizeK + "k,filecount=" + numberOfFiles,
             "-XX:-DisableExplicitGC", // to ensure that System.gc() works
             "-Xmx128M"};
         // System.getProperty("test.java.opts") is '' if no options is set