[
https://issues.apache.org/jira/browse/FELIX-4421?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13894380#comment-13894380
]
J.W. Janssen commented on FELIX-4421:
-------------------------------------
[~fmeschbe]: actually the changes for Jetty 9.x aren't that big (did it already
once, have the patch still somewhere). For some reason, I was under the
impression that Jetty 8 also required Java 7, but this appears not to be the
case. Anyway, given the fact that a couple of people have shown interest in
having an even more up-to-date version of Jetty that runs on Java 6, I think we
should just go ahead and make at least one release of Felix HTTP containing
Jetty 8.
Given that there is already a partial patch for this, I'll willing to give it a
go...
As for keeping two branches for maintenance, I was also thinking about that,
but could not find any other sub-project in Felix that does the same, or am I
mistaken?
> Embed Jetty 8 in Felix Http Jetty
> ---------------------------------
>
> Key: FELIX-4421
> URL: https://issues.apache.org/jira/browse/FELIX-4421
> Project: Felix
> Issue Type: New Feature
> Components: HTTP Service
> Affects Versions: http-2.2.1
> Reporter: Dominique Pfister
> Attachments: patch.txt
>
>
> Currently, the Jetty version embedded in Felix Http Jetty is version
> 7.6.13.v20130916. In order to leverage features available in Servlet API 3.0
> only, I'd like to change the embedded version to 8.1.14.v20131031.
> A quick test shows that increasing this version number in parent/pom.xml
> alone requires some small changes to JettyService, deployment of a fresh
> build of Http Jetty into an OSGI container succeeds, but no request can be
> handled, because Jetty internally calls methods on interfaces and classes
> that were only introduced in Servlet API 3.0.
> This implies that the servlet version supported should be upped to 3.0 as
> well. In order to be backward compatible with bundles expecting a 2.x
> version, one could also export a virtual version (e.g. 2.6) to satisfy those.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)