Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 056B6BB5DD5 for ; Tue, 1 May 2012 17:57:14 -0300 (ADT) Received: from auth-smtp.nebula.fi ([217.30.180.105]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SPK8G-0004hH-OK for pgsql-jdbc@postgresql.org; Tue, 01 May 2012 20:57:14 +0000 Received: from quadvadis.localdomain (gw.nitor.fi [83.145.228.24]) (authenticated bits=0) by auth-smtp.nebula.fi (8.13.8/8.13.4) with ESMTP id q41KuvtV015855 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Tue, 1 May 2012 23:56:57 +0300 Message-ID: <4FA04E19.6080005@nitorcreations.com> Date: Tue, 01 May 2012 23:56:57 +0300 From: Mikko Tiihonen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120425 Thunderbird/12.0 MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Patch: Add support for building with JDK 8 Content-Type: multipart/mixed; boundary="------------010905020806020906010200" X-Pg-Spam-Score: -1.2 (-) X-Archive-Number: 201205/1 X-Sequence-Number: 22901 This is a multi-part message in MIME format. --------------010905020806020906010200 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit The attached patch adds support for compiling with JDK 8. Because current ant releases too lack support for JDK 8, one also needs to pass -Dbuild.compiler=modern property to ant for compile target to work. PS. The JDK 8 early access releases can be downloaded from here: http://jdk8.java.net/download.html -Mikko --------------010905020806020906010200 Content-Type: text/x-patch; name="jdk8-support.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="jdk8-support.patch" diff --git a/build.xml b/build.xml --- a/build.xml +++ b/build.xml @@ -58,7 +58,10 @@ + + + --------------010905020806020906010200--