-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
animal sniffer does not catch ByteBuffer's usages that break in Java 8 when compiled with Java 9+ #7360
Comments
#7348 references protocolbuffers/protobuf#7827 (comment) which references mojohaus/animal-sniffer#77 . I was just going to wait for a fix, checking each release, or noticing an update notification. |
note that my PR (mojohaus/animal-sniffer#83) addressing this issue in animalsniffer has been open for a while - doesn't look like there's enough interest upstream to get it merged at Toast, we're using a private fork of animalsniffer with the above fix applied |
Yeah, based on your experience so far, I am likewise not too optimistic. I am hoping that maybe, if I post a beginning-to-end repro of the runtime failure, that will get some more traction on the PR. But we'll see. |
(I should probably also mention why |
@ogolberg, yeah, I had noticed it had been going on for a while. Although I had also seen the activity in July and figured in 1-2 more months I'd get more pessimistic, but I guess the useful discussion was with other users and not maintainers. |
I gave it a shot in mojohaus/animal-sniffer#77 (comment) |
Fixed by upgrading animalsniffer to 1.23 (1.21+) in #10178. |
Originally reported in #7348. Existing usages are manually fixed by #7349. But we'd want to prevent this happens in the future.
We'd expect animal sniffer to catch usages that could potentially break Java 8 users.
The text was updated successfully, but these errors were encountered: