You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2022/06/09 09:08:00 UTC
[jira] [Resolved] (FELIX-6539) servlet-api exports wrong versions of javax.servlet.descriptor and javax.servlet.annotation
[ https://issues.apache.org/jira/browse/FELIX-6539?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler resolved FELIX-6539.
-------------------------------------
Resolution: Won't Fix
It seems we are doing this wrong for a very long time, which means that potentially many bundles have a wrong import statement. Now if we fix this here, and those existing bundles get deployed with the latest version of the servlet-api bundle, then they will not resolve anymore. Which in turn requires everyone to adjust dependencies, rebuild bundles. That sounds like a too big ask and will create too much noise.
> servlet-api exports wrong versions of javax.servlet.descriptor and javax.servlet.annotation
> -------------------------------------------------------------------------------------------
>
> Key: FELIX-6539
> URL: https://issues.apache.org/jira/browse/FELIX-6539
> Project: Felix
> Issue Type: Bug
> Components: HTTP Service
> Affects Versions: http.servlet-api-1.1.2
> Reporter: Sagar Miglani
> Priority: Major
>
> servlet-api is exporting wrong version (2.6) of javax.servlet.descriptor and javax.servlet.annotation packages
> According to java docs [0] and [1] these packages were introduced in version 3.0
> [0]: [https://javadoc.io/doc/javax.servlet/javax.servlet-api/latest/javax/servlet/descriptor/package-summary.html]
> [1]: [https://javadoc.io/doc/javax.servlet/javax.servlet-api/latest/javax/servlet/annotation/package-summary.html]
--
This message was sent by Atlassian Jira
(v8.20.7#820007)