test/hotspot/jtreg/runtime/appcds/javaldr/ArrayTest.java
changeset 48979 514c73a1955b
parent 48791 6e079ff6c83c
child 51507 3e3764f8fe36
--- a/test/hotspot/jtreg/runtime/appcds/javaldr/ArrayTest.java	Thu Feb 15 09:22:25 2018 -0800
+++ b/test/hotspot/jtreg/runtime/appcds/javaldr/ArrayTest.java	Wed Feb 14 07:08:25 2018 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2017, 2018, 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
@@ -79,7 +79,6 @@
         }
         String[] opts = new String[argsList.size()];
         opts = argsList.toArray(opts);
-        output = TestCommon.execCommon(opts);
-        TestCommon.checkExec(output);
+        TestCommon.run(opts).assertNormalExit();
     }
 }