< prev index next >

test/jdk/tools/jpackage/createappimage/JPackageCreateAppImageModuleMainClassErrorTest.java

Print this page

        

*** 35,45 **** */ public class JPackageCreateAppImageModuleMainClassErrorTest { private static final String OUTPUT = "output"; private static final String app = JPackagePath.getApp(); private static final String appOutput = JPackagePath.getAppOutputFile(); - private static final String appWorkingDir = JPackagePath.getAppWorkingDir(); private static final String [] CMD1 = { "--output", OUTPUT, "--name", "test", "--module", "com.hello", --- 35,44 ----
*** 51,61 **** "--module", "com.hello/com.hello.Hello", "--module-path", "input"}; private static void validate(String buildOutput) throws Exception { ! File outfile = new File(appWorkingDir + File.separator + appOutput); int retVal = JPackageHelper.execute(outfile, app); if (retVal != 0) { throw new AssertionError( "Test application exited with error: "); } --- 50,60 ---- "--module", "com.hello/com.hello.Hello", "--module-path", "input"}; private static void validate(String buildOutput) throws Exception { ! File outfile = new File(appOutput); int retVal = JPackageHelper.execute(outfile, app); if (retVal != 0) { throw new AssertionError( "Test application exited with error: "); }
< prev index next >