Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] servlet-api repackaging


On Mon, Apr 24, 2023 at 4:33 AM Eirik Bjørsnøs <eirbjo@xxxxxxxxx> wrote:
On Mon, Apr 24, 2023 at 11:28 AM Simone Bordet <sbordet@xxxxxxxxxxx> wrote:
> Based on my current knowledge of the Java Modules System, I'm not sure how to go about creating a reliable module configuration which includes both Jetty and 'jakarta.servlet'.

You cannot.

Thanks for clarifying.
 
> Would it be possible to rework Jetty's servlet API to depend on and require the standard API? 
No, as the standard jar does not have module-info.class.

Well, it does have an automatic-module-name, doesn't that help? Or is this about the opens of resources perhaps, so you need to add the module descriptor?

That standard artifact is also missing the required schemas.
Something both the Jetty Servlet 5.0 module and Standard Jakarta Servlet 6.0 module have fixed.
Unfortunately, the automatic-module-name alone is insufficient to address this flaw in the Standard Jakarta Servlet 5.0 module.
 
- Joakim

Back to the top