Skip to content
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

Fix JettyNpnProvider warnings on Dalvik #15

Closed
swankjesse opened this issue Aug 13, 2012 · 1 comment
Closed

Fix JettyNpnProvider warnings on Dalvik #15

swankjesse opened this issue Aug 13, 2012 · 1 comment
Assignees

Comments

@swankjesse
Copy link
Collaborator

OkHttp refers to a class that isn't available on Dalvik. When it does so, we get this ugly warning in logcat:

W/dalvikvm( 6379): Link of class 'Lcom/squareup/okhttp/libcore/util/Libcore$JettyNpnProvider;' failed
D/dalvikvm( 6379): DexOpt: unable to opt direct call 0x3690 at 0x48 in Lcom/squareup/okhttp/libcore/util/Libcore;.setNpnProtocols
I/dalvikvm( 6379): Failed resolving Lcom/squareup/okhttp/libcore/util/Libcore$JettyNpnProvider; interface 4317 'Lorg/eclipse/jetty/npn/NextProtoNego$ClientProvider;'

The warning is benign, but it's distracting and makes OkHttp look broken!

@ghost ghost assigned swankjesse Aug 13, 2012
@swankjesse
Copy link
Collaborator Author

Done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant