Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartaee-tck-dev] How to build the Platform TCK with JDK11?

Hi Alwin,
Per the Jakarta EE 9 Release Plan, testing for compliance using Java 8 is optional.  Testing with Java 11 is a requirement.  Those Java 11 compliant app servers can then optionally test and certify on Java 8.  Reminder that the TCK used for compliance testing is in binary format.  Thus, asking a vendor to re-build with Java 8 is not an option.

How the TCK goes about providing this support is up to the TCK team.

>  1. The final TCK bundle should be built with JDK11 only. We will not build the platform TCK using JDK8.

This would probably be the best approach.  Use JDK 11, but produce JDK 8 bytecodes.  This should allow the TCKs to be run in either the Java 8 or 11 runtimes.  Another alternative would be stick with JDK 8 for building the TCK, producing JDK 8 bytecodes.  The resulting binaries shiould be usable in either Java 8 or 11 runtimes.

Worse case would be to create different binaries -- one for Java 8 and one for Java 11.

Good luck!

---------------------------------------------------
Kevin Sutter
STSM, MicroProfile and Jakarta EE architect @ IBM
e-mail:  sutter@xxxxxxxxxx     Twitter:  @kwsutter
phone: tl-553-3620 (office), 507-253-3620 (office)    
LinkedIn:
https://www.linkedin.com/in/kevinwsutter



From:        Alwin Joseph <alwin.joseph@xxxxxxxxxx>
To:        jakartaee-tck developer discussions <jakartaee-tck-dev@xxxxxxxxxxx>, Scott Marlow <smarlow@xxxxxxxxxx>
Date:        06/30/2020 12:54
Subject:        [EXTERNAL] Re: [jakartaee-tck-dev] How to build the Platform TCK with JDK11?
Sent by:        jakartaee-tck-dev-bounces@xxxxxxxxxxx




Hi Scott,
Can you please help confirm or correct me on the below 2 statements.
1. The final TCK bundle should be built with JDK11 only. We will not build the platform TCK using JDK8.
2. The final TCK bundle should be used to run tests on both JDK8 & JDK11.

Regards,
Alwin

On 30/06/20 8:14 pm, Scott Marlow wrote:
It would be good to get started on building with JDK11, however, we do need to target JDK8 so that the EE 9 TCKs also can run on JDK 8 as well.

Has anyone tried building the Platform TCK against JDK 11 yet?  The same question for the Standalone TCKs?


Issue #213 [1] is the general issue for JDK 11 support (Alwin already installed JDK 11 via JDK11_HOME=/opt/jdk-11.0.7) + issue#145 [2] is a related issue.

I'm trying to build the Platform TCK locally with JDK 11 using [3], I have some additional local changes that I will push later and also share what I see.

Scott

[1] https://github.com/eclipse-ee4j/jakartaee-tck/issues/213
[2] https://github.com/eclipse-ee4j/jakartaee-tck/issues/145
[3] https://github.com/scottmarlow/jakartaee-tck/tree/jdk11

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




Back to the top