Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W8vBf-0004Dx-5r for pgsql-jdbc@arkaria.postgresql.org; Thu, 30 Jan 2014 17:13:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1W8vBe-00075O-ED for pgsql-jdbc@arkaria.postgresql.org; Thu, 30 Jan 2014 17:13:58 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W8vBc-00075F-Az for pgsql-jdbc@postgresql.org; Thu, 30 Jan 2014 17:13:56 +0000 Received: from mx1.redhat.com ([209.132.183.28]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W8vBT-0001Er-6G for pgsql-jdbc@postgresql.org; Thu, 30 Jan 2014 17:13:54 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s0UHDj25015537 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 30 Jan 2014 12:13:46 -0500 Received: from [10.36.116.110] (ovpn-116-110.ams2.redhat.com [10.36.116.110]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s0UHDips002039 for ; Thu, 30 Jan 2014 12:13:45 -0500 Message-ID: <52EA8847.3060808@redhat.com> Date: Thu, 30 Jan 2014 17:13:43 +0000 From: Jeremy Whiting User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Re: Master branch compile error using 1.5 spec. References: <52DFA5D0.7000901@redhat.com> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: multipart/alternative; boundary="------------030409010608050209060008" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-Pg-Spam-Score: -7.3 (-------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-jdbc Precedence: bulk Sender: pgsql-jdbc-owner@postgresql.org This is a multi-part message in MIME format. --------------030409010608050209060008 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Dave, I pulled in your fix for the 1.5 error. I must be using the wrong command line params as I still see 18 errors. This is now using a 1.5 JDK (build 1.5.0_22-b03). How are you executing the tests ? Regards, Jeremy On 24/01/14 15:38, Dave Cramer wrote: > Jeremy, > > I think you actually need to use a 1.5 jvm to get this to compile. I > have a machine that does this and there is one error which is easily > fixable. ResultSet.isClosed does not exist in 1.5 > > > > Dave Cramer > > dave.cramer(at)credativ(dot)ca > http://www.credativ.ca > > > On Wed, Jan 22, 2014 at 6:04 AM, Jeremy Whiting > wrote: > > Hi, > Just to report I am getting a compile error on master branch. Using > this combination of command line arguments. > > $ ant -Djava.specification.version=1.5 clean compile > .... > [javac] 18 errors > [javac] 1 warning > > The full list of compilation errors are in the attached file. > > Shall I create an issue on GitHub to track this ? > > Regards, > Jeremy > > > $ java -version > java version "1.7.0_51" > OpenJDK Runtime Environment (fedora-2.4.4.0.fc19-x86_64 u51-b02) > OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode) > $ ant -version > Apache Ant(TM) version 1.9.2 compiled on July 8 2013 > $ uname -a > Linux f19lite 3.12.8-200.fc19.x86_64 #1 SMP Thu Jan 16 04:18:11 > UTC 2014 > x86_64 x86_64 x86_64 GNU/Linux > > > -- > Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org > ) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgsql-jdbc > > --------------030409010608050209060008 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit
Hi Dave,
 I pulled in your fix for the 1.5 error. I must be using the wrong command line params as I still see 18 errors. This is now using a 1.5 JDK (build 1.5.0_22-b03). How are you executing the tests ?

Regards,
Jeremy

On 24/01/14 15:38, Dave Cramer wrote:
Jeremy,

I think you actually need to use a 1.5 jvm to get this to compile. I have a machine that does this and there is one error which is easily fixable. ResultSet.isClosed does not exist in 1.5



Dave Cramer

dave.cramer(at)credativ(dot)ca
http://www.credativ.ca


On Wed, Jan 22, 2014 at 6:04 AM, Jeremy Whiting <jwhiting@redhat.com> wrote:
Hi,
 Just to report I am getting a compile error on master branch. Using
this combination of command line arguments.

$ ant -Djava.specification.version=1.5 clean compile
....
[javac] 18 errors
[javac] 1 warning

 The full list of compilation errors are in the attached file.

 Shall I create an issue on GitHub to track this ?

Regards,
Jeremy


$ java -version
java version "1.7.0_51"
OpenJDK Runtime Environment (fedora-2.4.4.0.fc19-x86_64 u51-b02)
OpenJDK 64-Bit Server VM (build 24.45-b08, mixed mode)
$ ant -version
Apache Ant(TM) version 1.9.2 compiled on July 8 2013
$ uname -a
Linux f19lite 3.12.8-200.fc19.x86_64 #1 SMP Thu Jan 16 04:18:11 UTC 2014
x86_64 x86_64 x86_64 GNU/Linux


--
Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-jdbc



--------------030409010608050209060008--