Hmmm.. According
to the Servlet 4.0 Spec PR, they are trying to promote 4.0.3:
https://github.com/jakartaee/specifications/pull/61/files
So, only testing
against 4.0.2 is not sufficient.
---------------------------------------------------
Kevin Sutter
STSM, MicroProfile and Jakarta EE architect
e-mail: sutter@xxxxxxxxxx Twitter: @kwsutter
phone: tl-553-3620 (office), 507-253-3620 (office)
LinkedIn: https://www.linkedin.com/in/kevinwsutter
From:
Tom
Jenkinson <tom.jenkinson@xxxxxxxxxx>
To:
jakartaee-tck
developer discussions <jakartaee-tck-dev@xxxxxxxxxxx>
Date:
08/20/2019
12:12 PM
Subject:
[EXTERNAL]
Re: [jakartaee-tck-dev] com/sun/ts/tests/signaturetest/javaee/JavaEESigTest.java#signatureTest_from_servlet
failure due to Deprecated annotation added to ServletRequest.java...
Sent
by: jakartaee-tck-dev-bounces@xxxxxxxxxxx
OTOH 4.0.2 does not https://github.com/eclipse-ee4j/servlet-api/blob/4.0.2-RELEASE/src/main/java/javax/servlet/ServletRequest.java#L431and 4.0.2 is what the servlet team (seem to be) certifying with: https://github.com/eclipse-ee4j/servlet-api/issues/262
On Tue, 20 Aug 2019 at 18:06, Tom Jenkinson
<tom.jenkinson@xxxxxxxxxx>
wrote:
The 4.0.3 tag does have that @Deprecated:
https://github.com/eclipse-ee4j/servlet-api/blob/4.0.3-RELEASE/api/src/main/java/javax/servlet/ServletRequest.java#L363
On Tue, 20 Aug 2019 at 17:59, Scott Marlow
<smarlow@xxxxxxxxxx>
wrote:I
just heard that
https://github.com/eclipse-ee4j/servlet-api/blob/EE4J_8/api/src/main/java/javax/servlet/ServletRequest.java
doesn't include the @Deprecated change, so this could be an user error
(should be using EE4J_8 branch).
Sorry for the noise. :)
Scott
On 8/20/19 12:18 PM, Joakim Erdfelt wrote:
> If the Jakarta EE 8 release is supposed to be bytecode compatible
with
> Java EE 7, then yeah, I agree the @Deprecated shouldn't be there
for the
> Jakarta EE 8 release.
>
> Linking to ApiDocs for Java EE 7 for ServletContext.getRealPath(String)
...
> https://docs.oracle.com/javaee/7/api/javax/servlet/ServletContext.html#getRealPath-java.lang.String-
>
> Besides, I don't think we are allowed to change the TCK behavior for
> Jakarta EE 8.
> Is this a correct assumption?
>
>
> On Tue, Aug 20, 2019 at 10:34 AM Scott Marlow <smarlow@xxxxxxxxxx
> <mailto:smarlow@xxxxxxxxxx>>
wrote:
>
> Hi,
>
> Servlet 2.1 deprecated ServletRequest#getRealPath(String
path) however,
> the current Jakarta platform TCK signature test
doesn't allow
> @Deprecated annotation to be added to ServletRequest#getRealPath
> [1], so
> we are seeing Jakarta TCK signature failure [2].
>
> Should the @Deprecated annotation be removed from
[1] to resolve the
> tck
> [2] failure?
>
> Scott
>
> [1]
> https://github.com/eclipse-ee4j/servlet-api/blob/master/api/src/main/java/javax/servlet/ServletRequest.java#L362
>
> [2] Added Annotations
> [javatest.batch] -----------------
> [javatest.batch]
> [javatest.batch] javax.servlet.ServletRequest:
> getRealPath(java.lang.String):anno 0 java.lang.Deprecated()
> [javatest.batch]
> [javatest.batch]
> [javatest.batch]
> [javatest.batch] 08-19-2019 22:31:36: SVR:
********** Package
> 'javax.servlet' - FAILED (STATIC MODE) **********
> _______________________________________________
> jakartaee-tck-dev mailing list
> jakartaee-tck-dev@xxxxxxxxxxx<mailto:jakartaee-tck-dev@xxxxxxxxxxx>
> To change your delivery options, retrieve your
password, or
> unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/jakartaee-tck-dev
>
>
> _______________________________________________
> jakartaee-tck-dev mailing list
> jakartaee-tck-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
> https://www.eclipse.org/mailman/listinfo/jakartaee-tck-dev
>
_______________________________________________
jakartaee-tck-dev mailing list
jakartaee-tck-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://www.eclipse.org/mailman/listinfo/jakartaee-tck-dev_______________________________________________
jakartaee-tck-dev mailing list
jakartaee-tck-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://www.eclipse.org/mailman/listinfo/jakartaee-tck-dev
_______________________________________________
jakartaee-tck-dev mailing list
jakartaee-tck-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/jakartaee-tck-dev