# HG changeset patch # User Omair Majid # Date 1299085083 18000 # Node ID 05e15b654ff0bb20c9270ddd4e1c652aa8ea4e48 # Parent ce4eb836f5920750fd211e3c19f5dcc92b754e02 Fix PR612: NetDania application ends on java.security.AccessControlException NetDania application ends on java.security.AccessControlException: access denied (java.util.PropertyPermission browser read). Grant untrusted applets and applications access to "browser" and "broser.*" system properties. 2011-03-02 Omair Majid Fix PR612. * NEWS: Update with fix. * netx/net/sourceforge/jnlp/SecurityDesc.java: Add PropertyPermissions for browser and browser.* to sandboxPermissions. diff -r ce4eb836f592 -r 05e15b654ff0 ChangeLog --- a/ChangeLog Tue Feb 22 19:19:31 2011 -0500 +++ b/ChangeLog Wed Mar 02 11:58:03 2011 -0500 @@ -1,3 +1,10 @@ +2011-03-02 Omair Majid + + Fix PR612. + * NEWS: Update with fix. + * netx/net/sourceforge/jnlp/SecurityDesc.java: Add PropertyPermissions for + browser and browser.* to sandboxPermissions. + 2011-02-22 Omair Majid Mark Greenwood diff -r ce4eb836f592 -r 05e15b654ff0 NEWS --- a/NEWS Tue Feb 22 19:19:31 2011 -0500 +++ b/NEWS Wed Mar 02 11:58:03 2011 -0500 @@ -11,6 +11,8 @@ New in release 1.0.2 (2011-XX-XX): * Common Fixes and Improvements - PR638: JNLPClassLoader.loadClass(String name) can return null +* Plugin + - PR612: NetDania application ends on java.security.AccessControlException: access denied (java.util.PropertyPermission browser read) New in release 1.0.1 (2011-02-15): diff -r ce4eb836f592 -r 05e15b654ff0 netx/net/sourceforge/jnlp/SecurityDesc.java --- a/netx/net/sourceforge/jnlp/SecurityDesc.java Tue Feb 22 19:19:31 2011 -0500 +++ b/netx/net/sourceforge/jnlp/SecurityDesc.java Wed Mar 02 11:58:03 2011 -0500 @@ -107,6 +107,8 @@ new PropertyPermission("javaplugin.*", "read"), new PropertyPermission("jnlp.*", "read,write"), new PropertyPermission("javaws.*", "read,write"), + new PropertyPermission("browser", "read"), + new PropertyPermission("browser.*", "read"), new RuntimePermission("exitVM"), new RuntimePermission("stopThread"), // disabled because we can't at this time prevent an