aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorAndy Clement <aclement@gopivotal.com>2014-03-18 22:21:20 -0700
committerAndy Clement <aclement@gopivotal.com>2014-03-18 22:21:20 -0700
commitc1c4a4d41f3173bb72040d91d42d07662ab703bd (patch)
treeee5f5bb17e86908b93504db85d2886e0375a94c5 /testing
parentbedb85ee870c2c0dad34d68662c83ff7033dd746 (diff)
downloadaspectj-c1c4a4d41f3173bb72040d91d42d07662ab703bd.tar.gz
aspectj-c1c4a4d41f3173bb72040d91d42d07662ab703bd.zip
merging 1.7.4 fixes into 1.8.0
Diffstat (limited to 'testing')
-rw-r--r--testing/newsrc/org/aspectj/testing/CompileSpec.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/newsrc/org/aspectj/testing/CompileSpec.java b/testing/newsrc/org/aspectj/testing/CompileSpec.java
index 897e41228..6d42149ff 100644
--- a/testing/newsrc/org/aspectj/testing/CompileSpec.java
+++ b/testing/newsrc/org/aspectj/testing/CompileSpec.java
@@ -234,7 +234,8 @@ public class CompileSpec implements ITestStep {
if (getOptions() != null) {
StringTokenizer strTok = new StringTokenizer(getOptions(),",");
while (strTok.hasMoreTokens()) {
- args.append(strTok.nextToken());
+ // For an option containing a comma, pass in a { in its place
+ args.append(strTok.nextToken().replace('{', ','));
args.append(" ");
}
}