You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bo...@apache.org on 2017/01/13 05:54:26 UTC

ant git commit: Eclipse tries to write to systemClasspath - PR 60582

Repository: ant
Updated Branches:
  refs/heads/1.9.x 0c38fb606 -> 1348ebb91


Eclipse tries to write to systemClasspath - PR 60582

thanks to @ebourg https://github.com/apache/ant/commit/984a03d1ceb6e4b5d194e4d639d0b0fca46d92be


Project: http://git-wip-us.apache.org/repos/asf/ant/repo
Commit: http://git-wip-us.apache.org/repos/asf/ant/commit/1348ebb9
Tree: http://git-wip-us.apache.org/repos/asf/ant/tree/1348ebb9
Diff: http://git-wip-us.apache.org/repos/asf/ant/diff/1348ebb9

Branch: refs/heads/1.9.x
Commit: 1348ebb91c17cbc8506d2a1e323c3bff408348c8
Parents: 0c38fb6
Author: Stefan Bodewig <bo...@apache.org>
Authored: Fri Jan 13 06:52:11 2017 +0100
Committer: Stefan Bodewig <bo...@apache.org>
Committed: Fri Jan 13 06:54:02 2017 +0100

----------------------------------------------------------------------
 WHATSNEW                                      | 7 +++++++
 src/main/org/apache/tools/ant/types/Path.java | 3 ++-
 2 files changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ant/blob/1348ebb9/WHATSNEW
----------------------------------------------------------------------
diff --git a/WHATSNEW b/WHATSNEW
index e259f39..b8b10d2 100644
--- a/WHATSNEW
+++ b/WHATSNEW
@@ -1,6 +1,13 @@
 Changes from Ant 1.9.8 TO Ant 1.9.9
 ===================================
 
+Fixed bugs:
+-----------
+
+ * Ant 1.9.8 made Path#systemClasspath final which broke the Eclipse
+   integration.
+   Bugzilla Report 60582
+
 Changes from Ant 1.9.7 TO Ant 1.9.8
 ===================================
 

http://git-wip-us.apache.org/repos/asf/ant/blob/1348ebb9/src/main/org/apache/tools/ant/types/Path.java
----------------------------------------------------------------------
diff --git a/src/main/org/apache/tools/ant/types/Path.java b/src/main/org/apache/tools/ant/types/Path.java
index c4f244c..16270e3 100644
--- a/src/main/org/apache/tools/ant/types/Path.java
+++ b/src/main/org/apache/tools/ant/types/Path.java
@@ -66,8 +66,9 @@ import org.apache.tools.ant.util.JavaEnvUtils;
 public class Path extends DataType implements Cloneable, ResourceCollection {
     // CheckStyle:VisibilityModifier OFF - bc
 
+    // non-final as some IDE integrations (at least Eclipse) want to override it
     /** The system classpath as a Path object */
-    public static final Path systemClasspath =
+    public static Path systemClasspath = //NOSONAR
         new Path(null, System.getProperty("java.class.path"));