Forbidden-Apis 2.2 was released an hour ago: https://github.com/policeman-tools/forbidden-apis/wiki/Changes
This version supports/fixes the following important stuff:
- commons-io signatures for 2.5; also update/review older commons-io signatures. This has shown new test bugs in Solr (using FileUtils.write(File, CharSequence), using default charset). The patch will fix this. It will also revert the workaround for the missing 2.5 signatures file added by
- allows to forbid signature polymorphic methods (e.g., slow MethodHandle.invoke(...) when used instead of MethodHandle.invokeExact(...) (thanks rcmuir!)
- Works around a bug in Gradle's Spyware Daemon (not Lucene/Solr relevant).
I will post & commit patch soon