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 "Add getProtocols method" #1038

Merged
merged 2 commits into from
Jan 5, 2017

Conversation

arteam
Copy link
Member

@arteam arteam commented Jan 5, 2017

This method is declared in ConnectionFactory in Jetty 9.3.*.
To be compatible with it, we should have a method with the same
signature.

We can't use a compile-time dependency on Jetty 9.3.*, because
it's compiled against Java 8, but codahale-metrics against Java 6.

Therefore, we use reflection to access this method.

Backport of #823

This method is declared in ConnectionFactory in Jetty 9.3.*.
To be compatible with it, we should have a method with the same
signature.

We can't use a compile-time dependency on Jetty 9.3.*, because
it's compiled against Java 8, but codahale-metrics against Java 6.

Therefore, we use reflection to access this method.

Backport of #823
@arteam arteam mentioned this pull request Jan 5, 2017
@arteam arteam merged commit 3816803 into 3.2-development Jan 5, 2017
@arteam arteam deleted the revert-1037-jetty_93_metrics_32 branch January 5, 2017 14:56
@arteam arteam added this to the 3.2.0 milestone Jan 5, 2017
@arteam arteam mentioned this pull request Jan 5, 2017
@marsmining
Copy link

Thanks for this work! Any idea when this will land in a release?

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants