X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 82C249DCA24 for ; Mon, 27 Mar 2006 18:12:38 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 89709-06 for ; Mon, 27 Mar 2006 18:12:39 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by postgresql.org (Postfix) with SMTP id 47B819DC9C3 for ; Mon, 27 Mar 2006 18:12:34 -0400 (AST) Received: (qmail 24516 invoked by uid 1112); 27 Mar 2006 22:12:36 -0000 Date: Mon, 27 Mar 2006 17:12:36 -0500 (EST) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Tom Lane cc: pgsql-jdbc@postgreSQL.org Subject: Re: gcj has a lot of complaints about 8.1-405 release In-Reply-To: <17770.1143496710@sss.pgh.pa.us> Message-ID: References: <17770.1143496710@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.118 required=5 tests=[AWL=0.118] X-Spam-Score: 0.118 X-Spam-Level: X-Archive-Number: 200603/110 X-Sequence-Number: 14891 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