soot-oss / soot

Soot - A Java optimization framework
GNU Lesser General Public License v2.1
2.84k stars 708 forks source link

Fix issue #1577, and port test cases for issue #1577 #2047

Closed Momo-Not-Emo closed 5 months ago

Momo-Not-Emo commented 5 months ago

Changes Made:

This fix and test cases are ported from the SootUp PR #405.

Additional Context:

Testing:

All test cases pass successfully when running the following commands locally:

mvn -B clean test -PJava8
mvn -B clean test -PJava9
mvn -B clean test -PJava11
Momo-Not-Emo commented 5 months ago

@StevenArzt Could you review my code?

StevenArzt commented 5 months ago

Thank you for your contribution. I had already looked at the code, but somehow forgot to merge after the CI/CD pipeline completed successfully.