harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stepan Mishura (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (HARMONY-261) Static initialization of an exception must not be used
Date Tue, 04 Apr 2006 06:43:44 GMT
     [ http://issues.apache.org/jira/browse/HARMONY-261?page=all ]

Stepan Mishura reassigned HARMONY-261:
--------------------------------------

    Assign To: Stepan Mishura

> Static initialization of an exception must not be used
> ------------------------------------------------------
>
>          Key: HARMONY-261
>          URL: http://issues.apache.org/jira/browse/HARMONY-261
>      Project: Harmony
>         Type: Bug

>   Components: Classlib
>     Reporter: Stepan Mishura
>     Assignee: Stepan Mishura
>  Attachments: fixHarmony261.txt
>
> In general, it is not good to create an exception to be thrown in static. A stack trace
may be filled later (before throwing an exception) but there are also thread-safety and security
issues.
> The following files in security module should be fixed:
> javax/crypto/CipherSpi.java
> javax/crypto/SealedObject.java
> javax/crypto/spec/DESedeKeySpec.java
> javax/crypto/spec/DESKeySpec.java
> javax/crypto/spec/PBEKeySpec.java
> javax/crypto/spec/RC2ParameterSpec.java
> javax/crypto/spec/RC5ParameterSpec.java
> javax/crypto/spec/SecretKeySpec.java

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message