facebook / infer

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

[java] prevent failing if same procedure is found in java bytecode #1725

Closed linpengzhang closed 1 year ago

linpengzhang commented 1 year ago

When people are running commands like mvn compile it will create .class files, and mvn install will create .jar files containing the class files already existing in the directory. This PR checks if the same procedure is found, by comparing its signature and if that's the case, it prevents Infer to fail.

facebook-github-bot commented 1 year ago

Hi @linpengzhang!

Thank you for your pull request.

We require contributors to sign our Contributor License Agreement, and yours needs attention.

You currently have a record in our system, but the CLA is no longer valid, and will need to be resubmitted.

Process

In order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with CLA signed. The tagging process may take up to 1 hour after signing. Please give it that time before contacting us about it.

If you have received this in error or have any questions, please contact us at cla@meta.com. Thanks!

geralt-encore commented 1 year ago

Hi Linpeng 🙂 Please, let me know if you have any issues with signing the CLA.

jvillard commented 1 year ago

We need to update the CLA on our side @geralt-encore, as just discussed in #1721.

facebook-github-bot commented 1 year ago

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Meta Open Source project. Thanks!