SingletonInstanceService Applet creates as many VMs when invoked from Desktop Shortcut.
I think it should behave same as JavaWS. Which runs only one VM no matter how many times we invoke application.
current behavior - Only one application instance exists but creates as many VMs and there is no way we can kill those process except from task manager or kill -9.
Steps to reproduce:
Install latest jre - b25 pit
Launch - http://sqindia.india.sun.com/disk17/deployment/raghu/SingleInstanceExample/singleapp.html
close browser
Desktop short cut will be creatd.
Click on desktop short cut 4 times.
Expected Behavior:
Only One instance of application should appear
Only one instance of VM should be there
Clicking on "Close" icon should close the VM(s).