Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 649BB9FB624 for ; Mon, 23 Apr 2007 19:50:29 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 90148-10 for ; Mon, 23 Apr 2007 19:50:27 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id C759F9FB5FB for ; Mon, 23 Apr 2007 19:50:26 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.6/8.13.6) with ESMTP id l3NMoPNI015990 for ; Mon, 23 Apr 2007 18:50:25 -0400 (EDT) To: pgsql-jdbc@postgreSQL.org Subject: Can't build postgresql-jdbc-8.2-505 on Fedora 7 Date: Mon, 23 Apr 2007 18:50:25 -0400 Message-ID: <15989.1177368625@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200704/88 X-Sequence-Number: 16937 So I tried to import 8.2-505 into Red Hat's development tip, and it blew up on me with errors that look like Java version incompatibilities, for instance [javac] 53. ERROR in /builddir/build/BUILD/postgresql-jdbc-8.2.505/org/postgresql/jdbc3g/Jdbc3gArray.java (at line 17) [javac] public class Jdbc3gArray extends org.postgresql.jdbc2.AbstractJdbc2Array implements java.sql.Array [javac] ^^^^^^^^^^^ [javac] The type Jdbc3gArray must implement the inherited abstract method Array.getArray(long, int, Map) [javac] ---------- [javac] 57. ERROR in /builddir/build/BUILD/postgresql-jdbc-8.2.505/org/postgresql/jdbc3g/Jdbc3gArray.java (at line 24) [javac] public Object getArray(Map < String, Class < ? >> map) throws SQLException [javac] ^^^^^^^^^^^^^ [javac] Syntax error, parameterized types are only available if source level is 5.0 [javac] ---------- The identical SRPM builds fine on my Fedora Core 6 workstation, although I notice it says [echo] Configured build for the JDBC3 edition driver with SSL where the failed build has [echo] Configured build for the JDBC3g edition driver with SSL FC6 has java-1.4.2 where 7 has java-1.5.0. Not being much of a Java guru, I could use some help fixing this. As a short-term measure, I'd be happy to de-rate the thing to plain JDBC3, but am not sure where to poke to make that happen. In the longer term, what needs to be fixed to make it compatible? Should I be filing a bug against gcj, or is this a driver portability problem? regards, tom lane