harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r382400 - in /incubator/harmony/enhanced/classlib/trunk/modules: kernel/src/main/java/java/lang/ security/src/common/javasrc/java/security/
Date Thu, 02 Mar 2006 14:59:10 GMT
Author: tellison
Date: Thu Mar  2 06:59:01 2006
New Revision: 382400

URL: http://svn.apache.org/viewcvs?rev=382400&view=rev
Log:
Fix for HARMONY-153 (mark deprecated API)

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/Thread.java
    incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Certificate.java
    incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Policy.java
    incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Security.java
    incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Signature.java
    incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/SignatureSpi.java
    incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Signer.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/Thread.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/Thread.java?rev=382400&r1=382399&r2=382400&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/Thread.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/kernel/src/main/java/java/lang/Thread.java
Thu Mar  2 06:59:01 2006
@@ -249,6 +249,7 @@
 	/**
 	 * Destroys the receiver without any monitor cleanup. Not implemented.
 	 * 
+	 * @deprecated Not implemented.
 	 */
 	public void destroy() {
 		return;

Modified: incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Certificate.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Certificate.java?rev=382400&r1=382399&r2=382400&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Certificate.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Certificate.java
Thu Mar  2 06:59:01 2006
@@ -28,6 +28,8 @@
 /**
  * @com.intel.drl.spec_ref
  * 
+ * @deprecated Replaced by behavior in
+ *             {@link javax.security.cert javax.security.cert}
  */
 public interface Certificate {
 

Modified: incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Policy.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Policy.java?rev=382400&r1=382399&r2=382400&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Policy.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Policy.java
Thu Mar  2 06:59:01 2006
@@ -29,7 +29,12 @@
 
 /**
  * @com.intel.drl.spec_ref
- * 
+ * @deprecated Use
+ *             {@link java.security.Policy#getPermissions(java.security.ProtectionDomain)
+ *             Policy.getPermissions(ProtectionDomain)} and
+ *             {@link java.security.ProtectionDomain#ProtectionDomain(java.security.CodeSource,
java.security.PermissionCollection, ClassLoader, java.security.Principal[])
+ *             ProtectionDomain(CodeSource, PermissionCollection, ClassLoader,
+ *             Principal[]} to establish a policy's permissions for a principal.
  */
 
 public abstract class Policy {

Modified: incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Security.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Security.java?rev=382400&r1=382399&r2=382400&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Security.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Security.java
Thu Mar  2 06:59:01 2006
@@ -26,6 +26,8 @@
 import java.io.FileInputStream;
 import java.io.IOException;
 import java.io.InputStream;
+import java.security.AlgorithmParameters;
+import java.security.KeyFactory;
 import java.util.Enumeration;
 import java.net.URL;
 import java.util.HashMap;
@@ -132,9 +134,11 @@
     }
 
     /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
+	 * @com.intel.drl.spec_ref
+	 * 
+	 * @deprecated Use {@link KeyFactory} and {@link AlgorithmParameters} to get
+	 *             algorithm property information.
+	 */
     public static String getAlgorithmProperty(String algName, String propName) {
         if (algName == null || propName == null) {
             return null;

Modified: incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Signature.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Signature.java?rev=382400&r1=382399&r2=382400&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Signature.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Signature.java
Thu Mar  2 06:59:01 2006
@@ -373,6 +373,7 @@
     /**
      * @com.intel.drl.spec_ref
      *  
+     * @deprecated Use {@link Signature#setParameter(AlgorithmParameterSpec) setParameter}
      */
     public final void setParameter(String param, Object value)
             throws InvalidParameterException {
@@ -398,7 +399,8 @@
 
     /**
      * @com.intel.drl.spec_ref
-     *  
+     * 
+     * @deprecated There is no generally accepted parameter naming convention.
      */
     public final Object getParameter(String param)
             throws InvalidParameterException {

Modified: incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/SignatureSpi.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/SignatureSpi.java?rev=382400&r1=382399&r2=382400&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/SignatureSpi.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/SignatureSpi.java
Thu Mar  2 06:59:01 2006
@@ -153,9 +153,11 @@
     }
 
     /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
+	 * @com.intel.drl.spec_ref
+	 * 
+	 * @deprecated Use
+	 *             {@link SignatureSpi#engineSetParameter(AlgorithmParameterSpec) engineSetParameter}
+	 */
     protected abstract void engineSetParameter(String param, Object value)
             throws InvalidParameterException;
 
@@ -177,9 +179,10 @@
     }
 
     /**
-     * @com.intel.drl.spec_ref
-     *  
-     */
+	 * @com.intel.drl.spec_ref
+	 * 
+	 * @deprecated There is no generally accepted parameter naming convention.
+	 */
     protected abstract Object engineGetParameter(String param)
             throws InvalidParameterException;
 

Modified: incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Signer.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Signer.java?rev=382400&r1=382399&r2=382400&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Signer.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Signer.java
Thu Mar  2 06:59:01 2006
@@ -21,9 +21,14 @@
 
 package java.security;
 
+import java.security.Principal;
+
 /**
  * @com.intel.drl.spec_ref
- *
+ * 
+ * @deprecated Replaced by behavior in
+ *             {@link java.security.cert java.security.cert} package and
+ *             {@link java.security.Principal Principal}
  */
 
 public abstract class Signer extends Identity {



Mime
View raw message