harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r382802 - in /incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc: java/security/Policy.java javax/security/auth/Policy.java
Date Fri, 03 Mar 2006 13:17:39 GMT
Author: tellison
Date: Fri Mar  3 05:17:38 2006
New Revision: 382802

URL: http://svn.apache.org/viewcvs?rev=382802&view=rev
Log:
Rework of HARMONY-153 fix (mark deprecated API) applied to wrong Policy file

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/java/security/Policy.java
    incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/javax/security/auth/Policy.java

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=382802&r1=382801&r2=382802&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
Fri Mar  3 05:17:38 2006
@@ -29,12 +29,6 @@
 
 /**
  * @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/javax/security/auth/Policy.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/javax/security/auth/Policy.java?rev=382802&r1=382801&r2=382802&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/javax/security/auth/Policy.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security/src/common/javasrc/javax/security/auth/Policy.java
Fri Mar  3 05:17:38 2006
@@ -33,8 +33,15 @@
 /**
  * @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 {
+public abstract class Policy 
+{
 
     // Key to security properties, defining default policy provider.
     private static final String POLICY_PROVIDER = "auth.policy.provider";



Mime
View raw message