[rfc][icedtea-web] set location for jnlpHreffed jnlp file correctly (rh1072013)

Jiri Vanek jvanek at redhat.com
Fri Mar 7 12:40:28 UTC 2014

When plugin is using jnlpHref to start, the location of jnlp file is not stored properly.  When one 
wonts to use it, he got NPE. Proably only usecase when this is visible is signature by jnlp (then 
tmplate have nothing to match)

However  I have not made the http://www.arcadeflex.com/releases/v0.36.4/launch.php?id=134 run :(

Now it is dying with itself :

Exception in thread "Thread-8" java.security.AccessControlException: Applets may not call System.exit()
	at net.sourceforge.jnlp.runtime.JNLPSecurityManager.checkExit(JNLPSecurityManager.java:391)
	at javax.swing.JFrame.setDefaultCloseOperation(JFrame.java:388)
	at arcadeflex.UrlDownloadProgress.initComponents(UrlDownloadProgress.java:46)
	at arcadeflex.UrlDownloadProgress.<init>(UrlDownloadProgress.java:28)
	at arcadeflex.osdepend.main(osdepend.java:75)
	at arcadeflex.MainApplet$1.run(MainApplet.java:78)
	at java.lang.Thread.run(Thread.java:744)

Andrew, can your policy enhancement grant exit System.exit? Just worthy to try :)


ps: reproducers for this are missing.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixedUnsetLocationForJnlpHref.patch
Type: text/x-patch
Size: 676 bytes
Desc: not available
Url : http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20140307/8d73c303/fixedUnsetLocationForJnlpHref.patch 

More information about the distro-pkg-dev mailing list