db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r748448 - /db/derby/code/trunk/java/drda/org/apache/derby/drda/template.policy
Date Fri, 27 Feb 2009 09:09:42 GMT
Author: kristwaa
Date: Fri Feb 27 09:09:42 2009
New Revision: 748448

URL: http://svn.apache.org/viewvc?rev=748448&view=rev
Log:
DERBY-3731: Improve calculation of refSize in ClassSize.java.
Added read privileges for the two properties used to determine if the system
is 32 or 64 bit to the template policy file.
Patch file: derby-3731-2a_update_of_policy_template.diff

Modified:
    db/derby/code/trunk/java/drda/org/apache/derby/drda/template.policy

Modified: db/derby/code/trunk/java/drda/org/apache/derby/drda/template.policy
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/drda/org/apache/derby/drda/template.policy?rev=748448&r1=748447&r2=748448&view=diff
==============================================================================
--- db/derby/code/trunk/java/drda/org/apache/derby/drda/template.policy (original)
+++ db/derby/code/trunk/java/drda/org/apache/derby/drda/template.policy Fri Feb 27 09:09:42
2009
@@ -30,6 +30,9 @@
   permission java.util.PropertyPermission "user.dir", "read";
   permission java.util.PropertyPermission "derby.storage.jvmInstanceId", 
       "write"; 
+  // The next two properties are used to determine if the VM is 32 or 64 bit.
+  permission java.util.PropertyPermission "sun.arch.data.model", "read";
+  permission java.util.PropertyPermission "os.arch", "read";
   permission java.io.FilePermission "${derby.system.home}","read";
   permission java.io.FilePermission "${derby.system.home}${/}-", "read,write,delete";
 



Mime
View raw message