Skip to content

Commit

Permalink
Merge pull request soot-oss#16 from rolve/master
Browse files Browse the repository at this point in the history
Don't use illegal characters in PhaseDumper.
  • Loading branch information
patricklam committed Jan 2, 2013
2 parents 7bf59e2 + 949796d commit 4c2218a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/soot/util/PhaseDumper.java
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ private static java.io.File makeDirectoryIfMissing(Body b)
String className = b.getMethod().getDeclaringClass().getName();
buf.append(className);
buf.append(File.separatorChar);
buf.append(b.getMethod().getSubSignature());
buf.append(b.getMethod().getSubSignature().replace('<', '[').replace('>', ']'));
java.io.File dir = new java.io.File(buf.toString());
if (dir.exists()) {
if (! dir.isDirectory()) {
Expand Down

0 comments on commit 4c2218a

Please sign in to comment.