Skip to content

Commit 4c4058d

Browse files
author
Eric Bodden
committed
bugfix for invokedynamic: don't try to resolve method in
UnitThrowAnalysis
1 parent 5b79826 commit 4c4058d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/soot/toolkits/exceptions/UnitThrowAnalysis.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,8 @@ public void caseDynamicInvokeInst(DynamicInvokeInst i) {
258258
result = result.add(mgr.RESOLVE_METHOD_ERRORS);
259259
result = result.add(mgr.NULL_POINTER_EXCEPTION);
260260
result = result.add(mgr.INITIALIZATION_ERRORS);
261-
result = result.add(mightThrow(i.getMethod()));
261+
//might throw anything
262+
result = result.add(ThrowableSet.Manager.v().ALL_THROWABLES);
262263
}
263264

264265
public void caseStaticInvokeInst(StaticInvokeInst i) {

0 commit comments

Comments
 (0)