From derby-commits-return-11178-apmail-db-derby-commits-archive=db.apache.org@db.apache.org Fri Feb 27 09:10:06 2009 Return-Path: Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: (qmail 89309 invoked from network); 27 Feb 2009 09:10:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Feb 2009 09:10:06 -0000 Received: (qmail 47524 invoked by uid 500); 27 Feb 2009 09:10:06 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 47509 invoked by uid 500); 27 Feb 2009 09:10:06 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 47500 invoked by uid 99); 27 Feb 2009 09:10:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 01:10:06 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Feb 2009 09:10:04 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 28B0D238884D; Fri, 27 Feb 2009 09:09:43 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r748448 - /db/derby/code/trunk/java/drda/org/apache/derby/drda/template.policy Date: Fri, 27 Feb 2009 09:09:42 -0000 To: derby-commits@db.apache.org From: kristwaa@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090227090943.28B0D238884D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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";