pg.ddx.io pgsql-jdbc@postgresql.org mailing list archive
help / color / mirror / Atom feedPatch: Add support for building with JDK 8
2+ messages / 2 participants
[nested] [flat]
* Patch: Add support for building with JDK 8
@ 2012-05-01 20:56 Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>
2012-05-02 18:13 ` Re: Patch: Add support for building with JDK 8 Dave Cramer <pg@fastcrypt.com>
0 siblings, 1 reply; 2+ messages in thread
From: Mikko Tiihonen @ 2012-05-01 20:56 UTC (permalink / raw)
To: pgsql-jdbc
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) download
diff --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>
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Patch: Add support for building with JDK 8
2012-05-01 20:56 Patch: Add support for building with JDK 8 Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>
@ 2012-05-02 18:13 ` Dave Cramer <pg@fastcrypt.com>
0 siblings, 0 replies; 2+ messages in thread
From: Dave Cramer @ 2012-05-02 18:13 UTC (permalink / raw)
To: Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>; +Cc: pgsql-jdbc
Applied, thanks!
Dave Cramer
dave.cramer(at)credativ(dot)ca
http://www.credativ.ca
On Tue, May 1, 2012 at 4:56 PM, Mikko Tiihonen
<mikko.tiihonen@nitorcreations.com> wrote:
> 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
>
>
> --
> Sent via pgsql-jdbc mailing list (pgsql-jdbc@postgresql.org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-jdbc
>
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2012-05-02 18:13 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-05-01 20:56 Patch: Add support for building with JDK 8 Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>
2012-05-02 18:13 ` Dave Cramer <pg@fastcrypt.com>
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