diff --git a/src/main/org/apache/tools/ant/types/Path.java b/src/main/org/apache/tools/ant/types/Path.java index db6f5e9f6..c4f244c74 100644 --- a/src/main/org/apache/tools/ant/types/Path.java +++ b/src/main/org/apache/tools/ant/types/Path.java @@ -67,7 +67,7 @@ public class Path extends DataType implements Cloneable, ResourceCollection { // CheckStyle:VisibilityModifier OFF - bc /** The system classpath as a Path object */ - public static Path systemClasspath = + public static final Path systemClasspath = new Path(null, System.getProperty("java.class.path")); @@ -76,7 +76,7 @@ public class Path extends DataType implements Cloneable, ResourceCollection { * * @since Ant 1.6.2 */ - public static Path systemBootClasspath = + public static final Path systemBootClasspath = new Path(null, System.getProperty("sun.boot.class.path")); // CheckStyle:VisibilityModifier OFF - bc