Skip to content

Commit a0aa5e1

Browse files
committed
Merge branch 'VerifyErrorFix' into CustomizedSoot
2 parents 168a5a7 + a63d9d9 commit a0aa5e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/soot/toolkits/graph/ExceptionalUnitGraph.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ protected Map<Unit, Collection<ExceptionDest>> buildExceptionDests(
352352
}
353353
ThrowableSet.Pair catchableAs = thrownSet
354354
.whichCatchableAs(catcher);
355-
if (!catchableAs.getCaught().equals(
355+
if (unit.equals(trap.getBeginUnit()) || !catchableAs.getCaught().equals(
356356
ThrowableSet.Manager.v().EMPTY)) {
357357
result = addDestToMap(result, unit, trap,
358358
catchableAs.getCaught());
@@ -936,4 +936,4 @@ public String toString() {
936936

937937
return buf.toString();
938938
}
939-
}
939+
}

0 commit comments

Comments
 (0)