facebook / infer

A static analyzer for Java, C, C++, and Objective-C
http://fbinfer.com/
MIT License
14.89k stars 2.01k forks source link

[java] add test to document how to run Infer on JAR files #1673

Closed jeremydubreil closed 1 year ago

jeremydubreil commented 2 years ago

Running the analysis on a JAR file directly is less precise than running Infer during the build because some useful type information may be missing. However, it is a very useful feature to have when integrating Infer with the build system proves to be too complex. This pull request adds a test to document this feature of Infer and make sure it keeps on running.

All the tests are passing.

facebook-github-bot commented 1 year ago

@jvillard has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.