harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ge...@apache.org
Subject svn commit: r393795 - /incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/UnresolvedPermission.java
Date Thu, 13 Apr 2006 12:59:25 GMT
Author: geirm
Date: Thu Apr 13 05:59:17 2006
New Revision: 393795

URL: http://svn.apache.org/viewcvs?rev=393795&view=rev
Log:
Revising javadoc to describe in our own words and
put link to the original Sun API doc

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/UnresolvedPermission.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/UnresolvedPermission.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/UnresolvedPermission.java?rev=393795&r1=393794&r2=393795&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/UnresolvedPermission.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/UnresolvedPermission.java
Thu Apr 13 05:59:17 2006
@@ -48,7 +48,7 @@
  * actual checking.
  * 
  */
-public final class UnresolvedPermission extends Permission 
+public final class UnresolvedPermission extends Permission
     implements Serializable {
 
     /** 
@@ -250,12 +250,19 @@
      * Outputs <code>type</code>,<code>name</code>,<code>actions</code>
      * fields via default mechanism; next manually writes certificates in the
      * following format: <br>
-     * an initial <code>int</code> indicating the number of certificates to
-     * follow (a value of "zero" denotes that there are no certificates). Each
-     * certificate is written out starting with a <code>String</code> denoting
-     * the certificate type, followed by an <code>int</code> specifying the
-     * length of the certificate encoding, followed by the certificate encoding
-     * itself which is written out as an array of bytes.
+     *
+     * <ol>
+     * <li> int : number of certs or zero </li>
+     * <li> each cert in the following format
+     *     <ol>
+     *     <li> String : certificate type </li>
+     *     <li> int : length in bytes of certificate </li>
+     *     <li> byte[] : certificate encoding </li>
+     *     </ol>
+     * </li>
+     * </ol>
+     *
+     *  @see  <a href="http://java.sun.com/j2se/1.5.0/docs/api/serialized-form.html#java.security.UnresolvedPermission">Java
Spec</a>
      */
     private void writeObject(ObjectOutputStream out) throws IOException {
         ObjectOutputStream.PutField fields = out.putFields();



Mime
View raw message