-
Bug
-
Resolution: Fixed
-
P3
-
internal, 9, 10
-
java version "9-ea"
Java(TM) SE Runtime Environment (build 9-ea+150)
Java HotSpot(TM) 64-Bit Server VM (build 9-ea+150, mixed mode)Test Environment
1. Windows 7 operating system.2. Download 150 jdk9 build from artifacts website, extract to a folder say 'jdk9_150' and set JAVA_HOME='jdk9_150' and set PATH=%JAVA_HOME%;%PATH%
3. Download latest ant from http://redrockdigimark.com/apachemirror//ant/binaries/apache-ant-1.9.7-bin.zip, extract to a folder say 'ant_folder'and set ANT_HOME='ant_folder' and PATH=%ANT_HOME%;%PATH%
4. Download attached 'mix.zip', extract into local system. "mix.zip" contains normal jar "com.greetings.jar" inside jars folder and modular jar "com.greetings.jar" inside modjars folder and "mix.xml" xml file.
5. verity the output of normal jar and modular jar using following commands assuming normal jar is available in "jars" folder and modular jar is available in "modjars" folder.
java -cp jars com.greetings.App1 ===> outputs PASS1
java --module-path modjars --module com.greetings/com.greetings.App2 ===> outputs PASS2java version "9-ea" Java(TM) SE Runtime Environment (build 9-ea+150) Java HotSpot(TM) 64-Bit Server VM (build 9-ea+150, mixed mode) Test Environment 1. Windows 7 operating system. 2. Download 150 jdk9 build from artifacts website, extract to a folder say 'jdk9_150' and set JAVA_HOME='jdk9_150' and set PATH=%JAVA_HOME%;%PATH% 3. Download latest ant from http://redrockdigimark.com/apachemirror//ant/binaries/apache-ant-1.9.7-bin.zip , extract to a folder say 'ant_folder'and set ANT_HOME='ant_folder' and PATH=%ANT_HOME%;%PATH% 4. Download attached 'mix.zip', extract into local system. "mix.zip" contains normal jar "com.greetings.jar" inside jars folder and modular jar "com.greetings.jar" inside modjars folder and "mix.xml" xml file. 5. verity the output of normal jar and modular jar using following commands assuming normal jar is available in "jars" folder and modular jar is available in "modjars" folder. java -cp jars com.greetings.App1 ===> outputs PASS1 java --module-path modjars --module com.greetings/com.greetings.App2 ===> outputs PASS2
-
windows
Steps to reproduce:
1. modify the following contents in "mix.xml"
a. <taskdef classpath="..." ===> points to %JAVA_HOME%\lib\ant-javafx.jar
b. <fx:resources>
<fx:fileset dir="..." ===> points to mix\jars folder.
c. <fx:runtime strip-native-commands="false">
<fx:module-path value=""/> ===> points to jdk9 jmods folder and modjars folder.
2. After modification in step 1, save the xml file and execute the command "ant -f mix.xml -verbose" at command line.
3. After successful execution of step 2, you will see the installer "SecondaryLauncherNormalAndModuleTest-1.0.exe" in "outdir" folder.
4. Double click the installer and continue the installation.
5. execute the command "set _JAVA_LAUNCHER_DEBUG=true" at the command line.
6. Navigate to the installed folder using command %LOCALAPPDATA%\SecondaryLauncherNormalAndModuleTest and execute the following commands
a. SecondaryLauncherNormalAndModuleTest.exe 1> app1.log
b. app2.exe 1> app2.log
ACTUAL RESULT:
app1.log outputs PASS1
app2.log outputs PASS1
EXPECTED RESULT:
app1.log outputs PASS1
app2.log outputs PASS2
7. Attachment also contains "*.cfg" files bundled with jars.