harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r415716 - in /incubator/harmony/enhanced/classlib/trunk/modules/security/src: main/java/common/java/security/AlgorithmParameterGenerator.java test/api/java/org/apache/harmony/security/tests/java/security/AlgorithmParameterGenerator1Test.java
Date Tue, 20 Jun 2006 15:54:50 GMT
Author: tellison
Date: Tue Jun 20 08:54:49 2006
New Revision: 415716

URL: http://svn.apache.org/viewvc?rev=415716&view=rev
Log:
Add exception throws declaration as in spec.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/AlgorithmParameterGenerator.java
    incubator/harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/AlgorithmParameterGenerator1Test.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/AlgorithmParameterGenerator.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/AlgorithmParameterGenerator.java?rev=415716&r1=415715&r2=415716&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/AlgorithmParameterGenerator.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security/src/main/java/common/java/security/AlgorithmParameterGenerator.java
Tue Jun 20 08:54:49 2006
@@ -143,7 +143,7 @@
      * @com.intel.drl.spec_ref
      *  
      */
-    public final void init(int size) {
+    public final void init(int size) throws InvalidAlgorithmParameterException {
         spiImpl.engineInit(size, randm);
     }
 

Modified: incubator/harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/AlgorithmParameterGenerator1Test.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/AlgorithmParameterGenerator1Test.java?rev=415716&r1=415715&r2=415716&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/AlgorithmParameterGenerator1Test.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/security/src/test/api/java/org/apache/harmony/security/tests/java/security/AlgorithmParameterGenerator1Test.java
Tue Jun 20 08:54:49 2006
@@ -306,7 +306,7 @@
      * Assertion: returns AlgorithmParameters object
      */  
     public void testAlgorithmParameterGenerator10()
-            throws NoSuchAlgorithmException {
+            throws NoSuchAlgorithmException, InvalidAlgorithmParameterException {
         if (!DSASupported) {
             fail(validAlgName + " algorithm is not supported");
             return;



Mime
View raw message