-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
2.x: Possible 6.x/Android compatibility issue #4653
Comments
Interestingly, if I breakpoint this line, the rest of the app appears to run just fine and isn't blocked. As soon as I let it pass though, it crashes. |
Java 8 changed the return type of |
doesn't that come at the expense of being able to target Java 8 entirely though? |
Let's see if http://stackoverflow.com/a/32955708/61158 works for us as well. |
While you are at this, could you post a PR with the fix above? |
Looks like that fixed it when I test locally, will upload a PR in a sec |
* Upcast ConcurrentHashMap to Map to avoid compatibility issue Resovles #4653 See http://stackoverflow.com/a/32955708/61158 * Fix imports, remove now-unnecessary animalsniffer suppression
Closing via #4654. |
If I have an Android app targeting source compatibility 1.8, I get the following exception at runtime on a 7.0 device:
The exact line is:
When I look at it in the debugger, it is indeed a KeySetView, but I'm not sure what the issue is here. Let me know if this would be better served posting in RxAndroid.
CC @JakeWharton
The text was updated successfully, but these errors were encountered: