diff --git a/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/IContract.java b/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/IContract.java index 53423600f..face35530 100644 --- a/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/IContract.java +++ b/proposal/myrmidon/src/main/org/apache/tools/ant/taskdefs/optional/IContract.java @@ -731,7 +731,7 @@ public class IContract extends MatchingTask Path baseClasspath = createClasspath(); // Might need to add the core classes if we're not using Sun's Javac (like Jikes) - String compiler = getProject().getProperty( "build.compiler" ); + String compiler = getProperty( "build.compiler" ).toString(); ClasspathHelper classpathHelper = new ClasspathHelper( compiler ); classpathHelper.modify( baseClasspath ); diff --git a/proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/IContract.java b/proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/IContract.java index 53423600f..face35530 100644 --- a/proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/IContract.java +++ b/proposal/myrmidon/src/todo/org/apache/tools/ant/taskdefs/optional/IContract.java @@ -731,7 +731,7 @@ public class IContract extends MatchingTask Path baseClasspath = createClasspath(); // Might need to add the core classes if we're not using Sun's Javac (like Jikes) - String compiler = getProject().getProperty( "build.compiler" ); + String compiler = getProperty( "build.compiler" ).toString(); ClasspathHelper classpathHelper = new ClasspathHelper( compiler ); classpathHelper.modify( baseClasspath );