From: Kris Jurka <books@ejurka.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-jdbc@postgreSQL.org
Subject: Re: gcj has a lot of complaints about 8.1-405 release
Date: Mon, 27 Mar 2006 17:12:36 -0500 (EST)
Message-ID: <Pine.BSO.4.63.0603271704310.8552@leary.csoft.net> (raw)
In-Reply-To: <17770.1143496710@sss.pgh.pa.us>
References: <17770.1143496710@sss.pgh.pa.us>
On Mon, 27 Mar 2006, Tom Lane wrote:
> So I tried to build the current release using latest gcj, and it blew up
> real good: 27 hard errors and 60 warnings. My java-fu is not that
> strong, but a lot of these look like problems to me. Comments?
>
The source of the problem is that ant is being run in a 1.5 JVM, but the
java compiler is defaulting to 1.4 source code and fails to recognize the
1.5 syntax. Currently ant must be run in the same JVM version as the
compiler expects. A workaround for you would be to add source="1.5" to
the javac tag in build.xml.
Kris Jurka
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: books@ejurka.com, tgl@sss.pgh.pa.us
Subject: Re: gcj has a lot of complaints about 8.1-405 release
In-Reply-To: <Pine.BSO.4.63.0603271704310.8552@leary.csoft.net>
References: <17770.1143496710@sss.pgh.pa.us> <Pine.BSO.4.63.0603271704310.8552@leary.csoft.net>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox