Skip to content

Commit

Permalink
[Boxing] fixed bug dealing with abstract methods of ignored classes
Browse files Browse the repository at this point in the history
  • Loading branch information
anddann committed Sep 19, 2017
1 parent 8abbbbb commit 0f30c0d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/soot/boxing/transformation/BoxingSootMethodRefImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,14 @@ public SootMethod resolve() {
|| (Options.v().no_bodies_for_excluded()
&& Scene.v().isExcluded(declaringClass()) && !Scene.v()
.getBasicClasses().contains(declaringClass().getName())) || !methodToReturn.isConcrete()) {

//FIXME: do we have to check, if the method is overridden by an application class??
//check if method is within an ignored class
if(BoxingTransformerUtility.isMethodIgnored(this)){
return methodToReturn;
}


//lift the method' signature
// methodToReturn.setParameterTypes(this.liftedParameter);
// methodToReturn.setReturnType(liftedReturnType);
Expand Down

0 comments on commit 0f30c0d

Please sign in to comment.