Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 25986 invoked from network); 30 Jan 2006 16:29:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 30 Jan 2006 16:29:25 -0000 Received: (qmail 72769 invoked by uid 500); 30 Jan 2006 16:29:24 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 72736 invoked by uid 500); 30 Jan 2006 16:29:23 -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 72727 invoked by uid 99); 30 Jan 2006 16:29:23 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jan 2006 08:29:23 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [192.18.98.34] (HELO brmea-mail-3.sun.com) (192.18.98.34) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 30 Jan 2006 08:29:22 -0800 Received: from phys-d3-ha21sca-2 ([129.145.155.165]) by brmea-mail-3.sun.com (8.12.10/8.12.9) with ESMTP id k0UGT2Qj017643 for ; Mon, 30 Jan 2006 09:29:02 -0700 (MST) Received: from conversion-daemon.ha21sca-mail1.sfbay.sun.com by ha21sca-mail1.sfbay.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) id <0ITW00G01Z5PTG@ha21sca-mail1.sfbay.sun.com> (original mail from Richard.Hillegas@Sun.COM) for derby-dev@db.apache.org; Mon, 30 Jan 2006 08:29:53 -0800 (PST) Received: from [129.150.24.83] (vpn-129-150-24-83.SFBay.Sun.COM [129.150.24.83]) by ha21sca-mail1.sfbay.sun.com (iPlanet Messaging Server 5.2 HotFix 1.24 (built Dec 19 2003)) with ESMTP id <0ITW009HGZ5SU3@ha21sca-mail1.sfbay.sun.com> for derby-dev@db.apache.org; Mon, 30 Jan 2006 08:29:53 -0800 (PST) Date: Mon, 30 Jan 2006 08:29:04 -0800 From: Rick Hillegas Subject: Re: Client SQLException change causing build failure In-reply-to: To: derby-dev@db.apache.org Message-id: <43DE3ED0.8010900@sun.com> MIME-version: 1.0 Content-type: text/plain; charset=ISO-8859-1; format=flowed Content-transfer-encoding: 7BIT X-Accept-Language: en-us, en User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) References: <54ac72d70601271559q7ce2f40dob50d61505be275e@mail.gmail.com> <43DBC05E.1010902@sun.com> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N What Andrew says. These failures turn up if you build Derby in a 1.4 environment but supplement your ant.properties with a pointer to a 1.6 installation. In that case, the build will use the 1.6 compiler to build the optional jdbc 4 support and compilation will choke on some discrepancies introduced by the SQLException rototill. I fixed these build failures in my first patch for bug 862, but I backed them out because they weren't germane to that bug's javadoc focus. The fixes are still available in that first patch in the following files: M java\client\org\apache\derby\client\ClientPooledConnection40.java M java\client\org\apache\derby\client\net\NetConnection40.java M java\client\org\apache\derby\client\am\CallableStatement40.java M java\client\org\apache\derby\client\am\PreparedStatement40.java Regards, -Rick Andrew McIntyre wrote: > > On Jan 28, 2006, at 11:05 AM, David W. Van Couvering wrote: > >> Hi, Andrew. Are you doing your build with JDK 1.6? I did my build >> with 1.4. I'm not trying to pass off blame, just trying to >> understand the circumstances better. > > > Hi David, > > I guess this is the 'mixed' build? It's everything but the JDBC 4.0 > classes compiled with JDK 1.4, and the JDBC 4.0 classes compiled with > JDK 1.6. It's what you get if you follow the instructions posted > previously to build the JDBC 4.0 classes as a part of the regular > build by setting the ant property ${jdk16} to the location of a JDK > 1.6 install. > > If you don't set the jdk16 ant property, everything works fine. I > just thought I'd mention the problem because I hadn't seen it raised > anywhere else. > > andrew