Return-Path: Delivered-To: apmail-incubator-harmony-commits-archive@www.apache.org Received: (qmail 89864 invoked from network); 8 Apr 2006 09:51:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 8 Apr 2006 09:51:46 -0000 Received: (qmail 93448 invoked by uid 500); 8 Apr 2006 09:51:45 -0000 Delivered-To: apmail-incubator-harmony-commits-archive@incubator.apache.org Received: (qmail 93403 invoked by uid 500); 8 Apr 2006 09:51:45 -0000 Mailing-List: contact harmony-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-commits@incubator.apache.org Received: (qmail 93392 invoked by uid 99); 8 Apr 2006 09:51:45 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Apr 2006 02:51:45 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 08 Apr 2006 02:51:44 -0700 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id DCD06D4A00 for ; Sat, 8 Apr 2006 10:51:23 +0100 (BST) Message-ID: <1547838649.1144489883901.JavaMail.jira@ajax> Date: Sat, 8 Apr 2006 10:51:23 +0100 (BST) From: "Stepan Mishura (JIRA)" To: harmony-commits@incubator.apache.org Subject: [jira] Closed: (HARMONY-261) Static initialization of an exception must not be used In-Reply-To: <505187089.1143526038697.JavaMail.jira@ajax> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/HARMONY-261?page=all ] Stepan Mishura closed HARMONY-261: ---------------------------------- Resolution: Fixed Updated patch was applied at at repo revision 391558. > 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