setup-java icon indicating copy to clipboard operation
setup-java copied to clipboard

Support all Java versions

Open danishnawab opened this issue 11 months ago • 2 comments

Description:

The README mentions only the Java versions "8, 11, 16, 17, 21". [1]

Can you please explain the rationale for how it is decided to support a certain version or not?

I would additionally request adding support for all Java versions (at least going forward) because "The Tip & Tail Model of Library Development" [2] recommended by OpenJDK would require popular libraries to be able to build and release against the latest versions (as well as using older versions to verify compatibility of older releases).

[1] https://github.com/actions/setup-java/blob/main/README.md#supported-version-syntax [2] https://openjdk.org/jeps/14

Justification:

Supporting more Java version will allow even more maintainers and vendors to be able to use this action for their builds.

danishnawab avatar Jan 17 '25 14:01 danishnawab

Hello @danishnawab 👋, Thank you for this feature request. We will investigate it and get back to you as soon as we have some feedback.


priya-kinthali avatar Jan 20 '25 04:01 priya-kinthali

Hi @danishnawab , made some small changes on README.md to enhance readabilty please check https://github.com/actions/setup-java/pull/750/files if this is now easier to understand. Regards Christian@SapMachine PS: To me the whole file would need a major rewrite, but this would be one or more other PRs in future.

skateball avatar Feb 11 '25 21:02 skateball