You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2011/03/21 17:20:05 UTC

[jira] [Commented] (GERONIMO-5872) geronimo-servlet_3.0_spec-1.0.jar incorrectly applies semantic versioning to servlet packages

    [ https://issues.apache.org/jira/browse/GERONIMO-5872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009193#comment-13009193 ] 

David Jencks commented on GERONIMO-5872:
----------------------------------------

Semantically, shouldn't servlet spec package versioning be at something like 1.8?
What version do you think we should export?
What do we do about the users of the servlet api that expect the 3.0 api classes to be exported at 3.0?
Is there any agreement among anyone what the osgi package version should be for javaee spec apis?  Is it documented anywhere?

> geronimo-servlet_3.0_spec-1.0.jar incorrectly applies semantic versioning to servlet packages
> ---------------------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5872
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5872
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: specs
>    Affects Versions: 3.0-M1
>            Reporter: Alasdair Nottingham
>
> The gernomio-servlet_3.0_spec-1.0.jar incorrectly exports the javax.servlet packages as 2.6 and 3.0. The problem with this is if the Servlet spec were to make a semantically breaking API change the correct next semantic step for the javax.servlet packages would be 3.0. This means there is no way for an importer importing at [3.0,4.0) to know whether they will match the version that is the same as 2.6, or the version that is breaking from 3.0 resulting in deployment and runtime problems.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira