Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cu-dev] leading slash in @WebServlet in TCK tests

Hi Scott,

We are currently working on implementation for Payara and doing a part of it inside Concurrent-RI, I already did a Draft Pull Request.

Petr



On 3/22/22 15:48, Scott Marlow wrote:
Hi Petr,

I have an separate question.  Are you trying to run the Concurrent TCK against an open-source implementation?  If yes could you please let us know which implementation.  I'm very interested in which implementations have already tried running their (in progress) EE 10 implementations against this new TCK. 

Scott

On Tue, Mar 22, 2022 at 6:25 AM Petr Aubrecht <aubrecht@xxxxxxxxxxxx> wrote:

Hi,

I'm looking at the TCK tests for Concurrent and one of the interesting things is removing leading slash in the @WebServlet annotation. Even the existing ones were removed.

E.g.

@WebServlet("/ManagedThreadFactoryDefinitionServlet")

was changed to

@WebServlet("ManagedThreadFactoryDefinitionServlet")


I looked at the spec, but it tells nothing. All examples contain the leading slash.

https://github.com/jakartaee/servlet/blob/master/spec/src/main/asciidoc/servlet-spec-body.adoc#811-webservlet

Can you point me to some place, which explains, why it should work without it? I know, that it is not required for @Path, but it is a different spec.

Thank you

Petr


_______________________________________________
cu-dev mailing list
cu-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cu-dev

_______________________________________________
cu-dev mailing list
cu-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cu-dev

Back to the top