Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jakartabatch-dev] Proposal - Use Java 11 source/target level for Batch 2.1

+1
According to the EE 10 plan, all specs with a major or minor release should update their javac version to Java 11. Since Jakarta Batch does a minor release, updating javac to Java 11 should be part of the release plan.
Thanks
Emily

On Thu, Dec 2, 2021 at 4:50 PM Scott Kurz <skurz@xxxxxxxxxx> wrote:

We need to decide what Java level to target for Batch 2.1.   Java 11 is the recommendation for the EE 10 platform, however since we still have not added any new APIs at this point we could still decide to go with our Java 8 level binaries from 2.0.
(This option is outlined in the platform release plan:   https://eclipse-ee4j.github.io/jakartaee-platform/jakartaee10/JakartaEE10ReleasePlan )

I propose we use Java 11 for source/target to stay in synch with the platform.    If a user wants to remain on Java 8 they can just use the existing 2.0 API JAR.  

Note in terms of language features I'm not sure we depend on anything more than Java 6 ?? still.  

Any objections?

If not, then, to add a bit of a further thought, I think we end up with this table worth keeping in mind:


Language Features:  Java 6?
javac target:  Java 11
TCK execution:   Java 11 + 17

Thanks,
------------------------------------------------------
Scott Kurz
WebSphere / Open Liberty Batch and Developer Experience
skurz@xxxxxxxxxx
--------------------------------------------------------


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


--
Thanks
Emily


Back to the top