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

Cleanup TypeUtil and ModuleLocation to allow jetty-client/hybrid to work on Android #6052

Open
joakime opened this issue Mar 10, 2021 · 0 comments · Fixed by #6053
Open

Cleanup TypeUtil and ModuleLocation to allow jetty-client/hybrid to work on Android #6052

joakime opened this issue Mar 10, 2021 · 0 comments · Fixed by #6053

Comments

@joakime
Copy link
Member

@joakime joakime commented Mar 10, 2021

Jetty version
9.4.x

Java version
Android

OS type/version
Android

Description
When attempting to use jetty-client-<ver>-hybrid.jar on Android.
The TypeUtil has an optional dependency on ModuleLocation which uses MethodHandle.invoke and MethodHandle.invokeExact, both of which are not supported by Android (yet)

Attempt to make the use of ModuleLocation in a more optional way.

joakime added a commit that referenced this issue Mar 10, 2021
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
@joakime joakime linked a pull request that will close this issue Mar 10, 2021
joakime added a commit that referenced this issue Mar 15, 2021
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Mar 15, 2021
Signed-off-by: Joakim Erdfelt <joakim.erdfelt@gmail.com>
joakime added a commit that referenced this issue Mar 15, 2021
Issue #6052 - make ModuleLocation optional on Android
@gregw gregw added this to To do in Jetty 10.0.2/11.0.2 via automation Mar 25, 2021
@gregw gregw moved this from To do to Done in Jetty 10.0.2/11.0.2 Mar 25, 2021
@gregw gregw added this to Done in Jetty 9.4.39 Mar 25, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Linked pull requests

Successfully merging a pull request may close this issue.

1 participant