From 06a078f0ed3c3b5557678c4ea91a114f58204844 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Mon, 29 Nov 2010 15:28:17 +0000 Subject: [PATCH] Use a class not present in libgcj to detect Java 1.6 - PR 50256 git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1040148 13f79535-47bb-0310-9956-ffa450edef68 --- WHATSNEW | 6 ++++++ build.xml | 2 +- src/main/org/apache/tools/ant/util/JavaEnvUtils.java | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/WHATSNEW b/WHATSNEW index 7d49b309b..bedb6c0cf 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -275,6 +275,12 @@ Other changes: * Initial support for OpenJDK7 has been added. + * Ant now uses java.net.CookieStore rather than + java.util.ServiceLocator to detect whether the environment is a + Java 1.6 system. This means releases of gcj/gij at the time of + this release of Ant are detected as Java 1.5 and not 1.6. + Bugzilla Report 50256. + Changes from Ant 1.8.0 TO Ant 1.8.1 =================================== diff --git a/build.xml b/build.xml index d81db3041..b6586fe62 100644 --- a/build.xml +++ b/build.xml @@ -351,7 +351,7 @@ - +