Jean-Baptiste Onofré created KARAF-6571:
-------------------------------------------
Summary: Use MultiPartFormInputStream from Servlet API (in Pax Web)
Key: KARAF-6571
URL: https://issues.apache.org/jira/browse/KARAF-6571
Project: Karaf
Issue Type: Bug
Components: karaf
Reporter: Jean-Baptiste Onofré
Assignee: Jean-Baptiste Onofré
Fix For: 4.3.0, 4.2.8
Jetty introduced a change in the OSGi headers. The
org.eclipse.jetty.util.MultiPartInputStream class has been removed from header:
{code:java}
Export-Package =
org.eclipse.jetty.util;
exclude:=MultiPartInputStreamParser;
uses:="org.eclipse.jetty.util.annotation,
org.eclipse.jetty.util.component,
org.eclipse.jetty.util.log,
org.eclipse.jetty.util.resource,
org.eclipse.jetty.util.thread”; {code}
Instead of using Jetty class, we should use the fast/safe
MultiPartFormInputStream from Servlet 3 API. It has to be done in Pax Web, but
I would like to check if there's no reference in Karaf directly as well.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)