harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mloe...@apache.org
Subject svn commit: r442095 - /incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/main/java/javax/crypto/CipherInputStream.java
Date Mon, 11 Sep 2006 04:42:56 GMT
Author: mloenko
Date: Sun Sep 10 21:42:56 2006
New Revision: 442095

URL: http://svn.apache.org/viewvc?view=rev&rev=442095
Log:
make "close" behavior close to RI

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/main/java/javax/crypto/CipherInputStream.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/main/java/javax/crypto/CipherInputStream.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/main/java/javax/crypto/CipherInputStream.java?view=diff&rev=442095&r1=442094&r2=442095
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/main/java/javax/crypto/CipherInputStream.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/crypto/src/main/java/javax/crypto/CipherInputStream.java
Sun Sep 10 21:42:56 2006
@@ -141,8 +141,8 @@
         in.close();
         try {
             cipher.doFinal();
-        } catch (GeneralSecurityException e) {
-            throw (IOException) new IOException(e.getMessage()).initCause(e);
+        } catch (GeneralSecurityException ignore) {
+            //do like RI does
         }
 
     }



Mime
View raw message