Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 90BE9B5DC70 for ; Mon, 26 Sep 2011 10:25:18 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 02346-01-9 for ; Mon, 26 Sep 2011 13:25:12 +0000 (UTC) X-Greylist: delayed 04:06:03.243599 by SQLgrey-1.8.0-rc2 Received: from milan.hostgo.com (milan.hostgo.com [72.52.99.130]) by mail.postgresql.org (Postfix) with ESMTP id 49771B5F48A for ; Mon, 26 Sep 2011 10:17:12 -0300 (ADT) Received: from localhost ([127.0.0.1] helo=www.mlfowler.com) by milan.hostgo.com with esmtpa (Exim 4.69) (envelope-from ) id 1R8B3V-000151-Is for pgsql-jdbc@postgresql.org; Mon, 26 Sep 2011 09:17:09 -0400 Received: from 80.254.146.140 ([80.254.146.140]) (SquirrelMail authenticated user mike@mlfowler.com) by www.mlfowler.com with HTTP; Mon, 26 Sep 2011 14:17:09 +0100 Message-ID: <10d990cb9ae2e157a6939fd8345a9f01.squirrel@www.mlfowler.com> Date: Mon, 26 Sep 2011 14:17:09 +0100 Subject: Buildfarm error: Broken compatability with JDK 1.4 From: "Mike Fowler" To: pgsql-jdbc@postgresql.org User-Agent: SquirrelMail/1.4.22 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - milan.hostgo.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - mlfowler.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201109/113 X-Sequence-Number: 22231 Hi, The JDBC buildfarm has been broken since Friday as I've discovered this morning (see http://www.pgbuildfarm.org/cgi-bin/show_status.pl?member=piapiac). All branches (8.4,9.0,9.1 & HEAD) are failing with the same reason: compile: [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/build.xml:125: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 152 source files to /home/ubuntu/buildarea/HEAD/pgjdbc/build [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/ds/common/PGObjectFactory.java:119: cannot resolve symbol [javac] symbol : method parseBoolean (java.lang.String) [javac] location: class java.lang.Boolean [javac] ds.setBinaryTransfer(Boolean.parseBoolean(binaryTransfer)); [javac] ^ [javac] /home/ubuntu/buildarea/HEAD/pgjdbc/org/postgresql/jdbc2/AbstractJdbc2ResultSet.java:3129: cannot resolve symbol [javac] symbol : method valueOf (long) [javac] location: class java.lang.Long [javac] throw new PSQLException(GT.tr("Bad value for type {0} : {1}", new Object[]{targetType, Long.valueOf(val)}), [javac] ^ [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -deprecation for details. [javac] 2 errors Both of these method calls - Boolean.parseBoolean() and Long.valueOf() - are introduced in JDK 1.5. Are we dropping support for 1.4? Given that the workaround to maintain 1.4 compatability is so simple (see attached patch) I would recommend maintaing support of 1.4. Regards, -- Mike Fowler Registered Linux user: 379787 The Call for Papers for is open for FLOSS UK, contact postgresql2012 AT flossuk DOT org for details.