hotspot/test/runtime/SharedArchiveFile/LimitSharedSizes.java
changeset 30123 7a8b6bd85e24
parent 28018 abc067cd68fd
child 30146 a5809dde4617
--- a/hotspot/test/runtime/SharedArchiveFile/LimitSharedSizes.java	Mon Mar 23 11:46:15 2015 +0100
+++ b/hotspot/test/runtime/SharedArchiveFile/LimitSharedSizes.java	Mon Mar 30 08:28:07 2015 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -123,9 +123,11 @@
     };
 
     public static void main(String[] args) throws Exception {
-        String fileName = "test.jsa";
+        int counter = 0;
+        for (SharedSizeTestData td : testTable) {
+            String fileName = "LimitSharedSizes" + counter + ".jsa";
+            counter++;
 
-        for (SharedSizeTestData td : testTable) {
             String option = td.optionName + "=" + td.optionValue;
             System.out.println("testing option <" + option + ">");