< prev index next >

test/jdk/com/sun/tools/jextract/ConstantsTest.java

Print this page

        

@@ -49,12 +49,12 @@
 
     @BeforeTest
     public void setup() {
         clzPath = getOutputFilePath("ConstantsTest.c.jar");
         dirPath = getOutputFilePath("ConstantsTest.c.dir");
-        checkSuccess(null,"-o", clzPath.toString(), "-d", dirPath.toString(),
-                getInputFilePath("constants.h").toString());
+        run("-o", clzPath.toString(), "-d", dirPath.toString(),
+                getInputFilePath("constants.h").toString()).checkSuccess();
         Class<?>[] cls = {
                 loadClass("constants", clzPath),
                 loadClass("constants", dirPath)
         };
         constants = new Object[cls.length];
< prev index next >