From: Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>
To: pgsql-jdbc@postgresql.org
Subject: Patch: Add support for building with JDK 8
Date: Tue, 01 May 2012 23:56:57 +0300
Message-ID: <4FA04E19.6080005@nitorcreations.com> (raw)
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
Attachments:jdk8-support.patch (text/x-patch, 431B) downloaddiff --git a/build.xml b/build.xml--- a/build.xml+++ b/build.xml@@ -58,7 +58,10 @@
<equals arg1="${java.specification.version}" arg2="1.6"/>
</condition>
<condition property="jdbc41">
+ <or>
<equals arg1="${java.specification.version}" arg2="1.7"/>
+ <equals arg1="${java.specification.version}" arg2="1.8"/>+ </or>
</condition>
<condition property="jdbc4any">
<or>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: mikko.tiihonen@nitorcreations.com
Subject: Re: Patch: Add support for building with JDK 8
In-Reply-To: <4FA04E19.6080005@nitorcreations.com>
References: <4FA04E19.6080005@nitorcreations.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox