* Reproduce
```
Ben="tools/jpackage/share/JavaOptionsEqualsTest.java"
make test TEST="${Ben}" CONF=fastdebug
```
* Symptom
```
JavaTest Message: Test threw exception: java.lang.AssertionError: Unexpected number of lines: 12 - output: WARNING: Unknown module: other.mod.bar specified to --add-exports
WARNING: Unknown module: me.mymodule.foo specified to --add-exports
0 output/test/bin/test
1 -Djava.library.path=/home/fool/workspace/jdk/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_jdk_tools_jpackage_share_JavaOptionsEqualsTest_java/scratch/0/output/test/lib/app:/home/fool/workspace/jdk/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_jdk_tools_jpackage_share_JavaOptionsEqualsTest_java/scratch/0/output/test/bin
2 -Djava.launcher.path=/home/fool/workspace/jdk/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_jdk_tools_jpackage_share_JavaOptionsEqualsTest_java/scratch/0/output/test/bin
3 --add-exports=java.base/sun.util=me.mymodule.foo,ALL-UNNAMED
4 --add-exports=java.base/sun.security.util=other.mod.bar,ALL-UNNAMED
5 -classpath
6 /home/fool/workspace/jdk/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_jdk_tools_jpackage_share_JavaOptionsEqualsTest_java/scratch/0/output/test/lib/app/hello.jar
7 Hello
hello: Environment supports a display
jpackage test application
args.length: 0
hello: Output file: [appOutput.txt]
...
TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Unexpected number of lines: 12 - output: WARNING: Unknown module: other.mod.bar specified to --add-exports WARNING: Unknown module: me.mymodule.foo specified to --add-exports 0 output/test/bin/test 1 -Djava.library.path=/home/fool/workspace/jdk/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_jdk_tools_jpackage_share_JavaOptionsEqualsTest_java/scratch/0/output/test/lib/app:/home/fool/workspace/jdk/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_jdk_tools_jpackage_share_JavaOptionsEqualsTest_java/scratch/0/output/test/bin 2 -Djava.launcher.path=/home/fool/workspace/jdk/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_jdk_tools_jpackage_share_JavaOptionsEqualsTest_java/scratch/0/output/test/bin 3 --add-exports=java.base/sun.util=me.mymodule.foo,ALL-UNNAMED 4 --add-exports=java.base/sun.security.util=other.mod.bar,ALL-UNNAMED 5 -classpath 6 /home/fool/workspace/jdk/build/linux-x86_64-server-fastdebug/test-support/jtreg_test_jdk_tools_jpackage_share_JavaOptionsEqualsTest_java/scratch/0/output/test/lib/app/hello.jar 7 Hello hello: Environment supports a display jpackage test application args.length: 0 hello: Output file: [appOutput.txt]
--------------------------------------------------
Test results: failed: 1
...
```