Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

For static method calls and field accesses do not look into superclasses #238

Merged
merged 11 commits into from
Nov 7, 2023
Prev Previous commit
Next Next commit
enforce failure on missing classes
uschindler committed Nov 7, 2023
commit fd9e2ee8f73a1479144027adf9c82a102e7f3a16
2 changes: 1 addition & 1 deletion src/test/antunit/TestStaticVsVirtual.xml
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@

<target name="testStatic">
<au:expectfailure expectedMessage="Check for forbidden API calls failed, see log">
<forbiddenapis failOnMissingClasses="false">
<forbiddenapis>
<fileset file="Java7StaticVsVirtual*.class"/>
java.util.BitSet#valueOf(**) @ Forbidden static method
</forbiddenapis>