-
Notifications
You must be signed in to change notification settings - Fork 354
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
Cannot use stubs from jar file; Checker Framework crashes with java.lang.IllegalStateException: zip file closed
#6053
Comments
The problem is a newly introduced bug in JavaParser: it crashes on empty files. |
Thanks for reporting this! |
I'm not sure that's the only problem. The Checker Framework throws the |
@Calvin-L I think this PR may fix the problem with non-empty files as well. Could you please try, either from the master branch or from the release (which will be made on July 3)? Thanks! |
Yes, it does fix the problem. Thank you. :) |
The docs say:
However, reading stubs from a jar file doesn't seem to work.
Quick-and-easy repro script:
Running it gives me the following error:
The text was updated successfully, but these errors were encountered: