Re: gcj has a lot of complaints about 8.1-405 release - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: gcj has a lot of complaints about 8.1-405 release
Date
Msg-id Pine.BSO.4.63.0603271704310.8552@leary.csoft.net
Whole thread Raw
In response to gcj has a lot of complaints about 8.1-405 release  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-jdbc

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

pgsql-jdbc by date:

Previous
From: Tom Lane
Date:
Subject: gcj has a lot of complaints about 8.1-405 release
Next
From: Dave Cramer
Date:
Subject: Re: gcj has a lot of complaints about 8.1-405 release