db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From krist...@apache.org
Subject svn commit: r753184 - in /db/derby/docs/trunk/src: adminguide/tadminnetservbasic.dita adminguide/tadminnetservcustom.dita devguide/cdevbabejgjd.dita
Date Fri, 13 Mar 2009 09:21:15 GMT
Author: kristwaa
Date: Fri Mar 13 09:21:15 2009
New Revision: 753184

URL: http://svn.apache.org/viewvc?rev=753184&view=rev
Log:
DERBY-3731: Improve calculation of refSize in ClassSize.java.
Updated documentation by including the two property permissions os.arch
and sun.arch.data.model in two examples, and added an explanation of why
the permissions should be granted.
Patch file: derby-3731-3a-doc_changes.diff

Modified:
    db/derby/docs/trunk/src/adminguide/tadminnetservbasic.dita
    db/derby/docs/trunk/src/adminguide/tadminnetservcustom.dita
    db/derby/docs/trunk/src/devguide/cdevbabejgjd.dita

Modified: db/derby/docs/trunk/src/adminguide/tadminnetservbasic.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/adminguide/tadminnetservbasic.dita?rev=753184&r1=753183&r2=753184&view=diff
==============================================================================
--- db/derby/docs/trunk/src/adminguide/tadminnetservbasic.dita (original)
+++ db/derby/docs/trunk/src/adminguide/tadminnetservbasic.dita Fri Mar 13 09:21:15 2009
@@ -58,6 +58,9 @@
 //
   permission java.lang.RuntimePermission "createClassLoader";
   permission java.util.PropertyPermission "derby.*", "read";
+  // 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.util.PropertyPermission "user.dir", "read";
   permission java.util.PropertyPermission "derby.storage.jvmInstanceId", 
       "write"; 

Modified: db/derby/docs/trunk/src/adminguide/tadminnetservcustom.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/adminguide/tadminnetservcustom.dita?rev=753184&r1=753183&r2=753184&view=diff
==============================================================================
--- db/derby/docs/trunk/src/adminguide/tadminnetservcustom.dita (original)
+++ db/derby/docs/trunk/src/adminguide/tadminnetservcustom.dita Fri Mar 13 09:21:15 2009
@@ -56,6 +56,9 @@
 //
   permission java.lang.RuntimePermission "createClassLoader";
   permission java.util.PropertyPermission "derby.*", "read";
+  // 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.util.PropertyPermission "user.dir", "read";
   permission java.io.FilePermission "/usr/local/shoppingCartApp/databases","read";
   permission java.io.FilePermission "/usr/local/shoppingCartApp/databases/-", 

Modified: db/derby/docs/trunk/src/devguide/cdevbabejgjd.dita
URL: http://svn.apache.org/viewvc/db/derby/docs/trunk/src/devguide/cdevbabejgjd.dita?rev=753184&r1=753183&r2=753184&view=diff
==============================================================================
--- db/derby/docs/trunk/src/devguide/cdevbabejgjd.dita (original)
+++ db/derby/docs/trunk/src/devguide/cdevbabejgjd.dita Fri Mar 13 09:21:15 2009
@@ -70,6 +70,16 @@
 <dd>Permits access to the system directory value if <i>derby.system.home</i>
is
 not set or no permission has been granted to read the <i>derby.system.home</i>
property.</dd>
 </dlentry><dlentry>
+<dt>permission java.util.PropertyPermission "sun.arch.data.model", "read"</dt>
+<dd>If set by the JVM, this is the definite answer to whether the system is 32 or 64
bit.</dd>
+</dlentry><dlentry>
+<dt>permission java.util.PropertyPermission "os.arch", "read"</dt>
+<dd>Used by <ph conref="../conrefs.dita#prod/productshortname"></ph> to
determine if the
+system is 32 or 64 bit, if the system property <i>sun.arch.data.model</i> isn't
set by
+the JVM. <ph conref="../conrefs.dita#prod/productshortname"></ph> has to recognize
the value of
+<i>os.arch</i> to determine if the system is 32 or 64 bit, and if the value isn't
recognized
+a heuristic will be used instead.</dd>
+</dlentry><dlentry>
 <dt>permission java.io.FilePermission "${derby.system.home}${/}derby.properties",
 "read"</dt>
 <dd>Allows <ph conref="../conrefs.dita#prod/productshortname"></ph> to
read



Mime
View raw message