Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 18915 invoked from network); 28 Mar 2006 00:56:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 28 Mar 2006 00:56:52 -0000 Received: (qmail 97445 invoked by uid 500); 28 Mar 2006 00:56:51 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 97402 invoked by uid 500); 28 Mar 2006 00:56:51 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 97392 invoked by uid 99); 28 Mar 2006 00:56:51 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Mar 2006 16:56:51 -0800 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; Mon, 27 Mar 2006 16:56:50 -0800 Received: from ajax (localhost.localdomain [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id B282ED49FF for ; Tue, 28 Mar 2006 01:56:29 +0100 (BST) Message-ID: <1153138659.1143507389728.JavaMail.jira@ajax> Date: Tue, 28 Mar 2006 01:56:29 +0100 (BST) From: "David Van Couvering (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-1153) derbynet/SqlExceptionTest.junit fails with Sun JDK 1.3 In-Reply-To: <1614042738.1143506062369.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/DERBY-1153?page=comments#action_12372051 ] David Van Couvering commented on DERBY-1153: -------------------------------------------- Actually, it needs to be reworked for JDK 1.3 since there are no chained exceptions in JDK 1.3. The test can probably be written to test for the JDK version and then modify its assertions accordingly. In general, nextException stuff should work, but not getCause() style exception chaining. Apologies for not thinking of this when I wrote the test. Since this is a new test, we may want to consider just excluding it for JDK 1.3, but I'm not sure about that... > derbynet/SqlExceptionTest.junit fails with Sun JDK 1.3 > ------------------------------------------------------ > > Key: DERBY-1153 > URL: http://issues.apache.org/jira/browse/DERBY-1153 > Project: Derby > Type: Bug > Components: Regression Test Failure > Versions: 10.2.0.0 > Reporter: A B > Priority: Minor > > derbynet/SqlExceptionTest.junit fails with Sun JDK 1.3: > 0 add > > .E.E > > There were 2 errors: > > 1) testChainedException(org.apache.derbyTesting.functionTests.tests.derbynet.SqlExceptionTest)java.lang.NoSuchMethodError > > 2) testNextException(org.apache.derbyTesting.functionTests.tests.derbynet.SqlExceptionTest)java.lang.NoSuchMethodError > > FAILURES!!! > > Tests run: 2, Failures: 0, Errors: 2 > The test passes with 1.4.2, so this looks like a master update issue. -- 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