Skip to content

jakarta-web relax the import package constraints #3787

Open
@jcompagner

Description

@jcompagner

If you work in an osgi environment where it used import an export packages
then the log4j-jakarta-web is to restrictive:

Import-Package: jakarta.servlet;version="[5.0,6)",jakarta.servlet.http;v
ersion="[5.0,6)",

so it says as a from 5.0 but not 6 (not including 6) so until 5.999

This is annoying if you are building with a 6.1 (tomcat 11) jakarta specification.

you don't need an upper bound i think, because i guess you just have a lower bound where you build on and that should work fine in a 6 or even 7 jakarta servlet spec right?

so please just do:

Import-Package: jakarta.servlet;version="[5.0,7)",jakarta.servlet.http;v
ersion="[5.0,7)",

so that you support all the version that are currently released (because you do run fine on a tomcat 11 right?)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions