< prev index next >
test/jdk/com/sun/tools/jextract/ConstantsTest.java
Print this page
*** 49,60 ****
@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());
Class<?>[] cls = {
loadClass("constants", clzPath),
loadClass("constants", dirPath)
};
constants = new Object[cls.length];
--- 49,60 ----
@BeforeTest
public void setup() {
clzPath = getOutputFilePath("ConstantsTest.c.jar");
dirPath = getOutputFilePath("ConstantsTest.c.dir");
! 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 >