JNLP app with vm args -XX:PermSize or -XX:MaxPermSize will exit directly after accepting security dialog.
env: win7/x64
Steps to reproduce:
1. Install jre9-b26
2. Add http://sqeweb.us.oracle.com to JCP -> Security -> Exception Site List
3. Clear cache: javaws -uninstall
4. Load unsigned app with vm args -XX:PermSize:
javaws http://sqeweb.us.oracle.com/net/sqenfs-1/export1/comp/jsn/users/crystal/DO_NOT_REMOVE_ME/jrebug/vmargs/jnlp/testPermSizeNegative.jnlp
5. An unsigned dialog will show up. Accept it.
6. If app exits sliently, then this bug is reproduced.
Note:
1.No such issue for other vm args. For example,
1) Add http://sqeweb.us.oracle.com to JCP -> Security -> Exception Site List
2) Clear cache: javaws -uninstall
3) Load app with vm args -XX:NewSize:
javaws http://sqeweb.us.oracle.com/net/sqenfs-1/export1/comp/jsn/users/crystal/DO_NOT_REMOVE_ME/jrebug/vmargs/jnlp/testNewSizeNegative.jnlp
4) An unsigned dialog will show up. Accept it.
5) App will get loaded successfully.
2. No such issue with jre8u20-b25
0) Install jre8u20-b25
1) Add http://sqeweb.us.oracle.com to JCP -> Security -> Exception Site List
2) Clear cache: javaws -uninstall
3) Load app with vm args -XX:PermSize:
javaws http://sqeweb.us.oracle.com/net/sqenfs-1/export1/comp/jsn/users/crystal/DO_NOT_REMOVE_ME/jrebug/vmargs/jnlp/testPermSizeNegative.jnlp
4) An unsigned dialog will show up. Accept it.
5) App will get loaded successfully.