Skip to content

Commit

Permalink
Merge branch 'VerifyErrorFix' into CustomizedSoot
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-hoffman committed Aug 31, 2015
2 parents 168a5a7 + a63d9d9 commit a0aa5e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/soot/toolkits/graph/ExceptionalUnitGraph.java
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ protected Map<Unit, Collection<ExceptionDest>> buildExceptionDests(
}
ThrowableSet.Pair catchableAs = thrownSet
.whichCatchableAs(catcher);
if (!catchableAs.getCaught().equals(
if (unit.equals(trap.getBeginUnit()) || !catchableAs.getCaught().equals(
ThrowableSet.Manager.v().EMPTY)) {
result = addDestToMap(result, unit, trap,
catchableAs.getCaught());
Expand Down Expand Up @@ -936,4 +936,4 @@ public String toString() {

return buf.toString();
}
}
}

0 comments on commit a0aa5e1

Please sign in to comment.