-
Notifications
You must be signed in to change notification settings - Fork 352
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
RLC and Must Call Checker stub files for Apache Commons IOUtils
class
#5478
Conversation
I looked into this briefly and I can't see anything wrong with the stub file (other than some unannotated methods being present and some non-checker-framework annotations, but those are just extraneous, not a problem). Running with My next debugging action here would be to instrument either the consistency analyzer (to see why it's reporting the error) or the Called Methods Checker (to see if it can see the stub file). Somewhere along the chain, those |
This is a long shot, but could you try using explicit rather than wildcard imports? |
I gave it a shot, but it didn't seem to work. |
…ork into msridhar-rlc-ioutils-stub
…ork into rlc-ioutils-stub
@msridhar The stub file was not being read by the Resource Leak Checker since it was added to the MustCall Checker. I've fixed this. |
IOUtils
classIOUtils
class
Thanks for the fix! |
@smillst when is the next CF release planned? If we could get this merged before the release is cut that would be helpful to us. |
I'm doing the release tomorrow, so as long as this is merged by 8am PST tomorrow, it will be in the release. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @smillst for figuring this out! I should have realized what the problem was myself.
I took the stub file from our old one here and just updated an import. However, my test case is not passing and still reporting an unexpected warning. @kelloggm any idea how I can debug?
Update: This is now debugged.