[rfc][icedtea-web] do exec java instead of plain java in javaws

Jiri Vanek jvanek at redhat.com
Mon Aug 20 09:59:14 PDT 2012

On 08/20/2012 06:57 PM, Jiri Vanek wrote:
> Hi!
> As it is now `"${COMMAND[@]}"` in javaws launcher, the process with swing application can not be killed correctly from commandline
> If you will run some swing testcase eg http://java.sun.com/docs/books/tutorialJWS/uiswing/events/ex6/ComponentEventDemo.jnlp from http://icedtea.classpath.org/wiki/IcedTea-Web-Tests,
> and then you will try to kill it, you will discover that the swing window is still alive... Well it looks like me as incorrect. I must admit taht I do not see huge difference betwenn 'exec' and 'nothing', but it looks like exec is commonly used (eg google-chrome, firefox) in applications using shell launcher.
> So I would like to intorduce this change.
> ok for head? (what about 1.3? I'm for too :o) )
> J.

I forgot to add that exec is solving the "immortality" problem above ;)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Exec.diff
Type: text/x-patch
Size: 254 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20120820/f9a60f13/Exec.diff 

More information about the distro-pkg-dev mailing list