Skip to content

Support all Java versions #725

@danishnawab

Description

@danishnawab

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.

Activity

priya-kinthali

priya-kinthali commented on Jan 20, 2025

@priya-kinthali

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


linked a pull request that will close this issue on Feb 11, 2025
skateball

skateball commented on Feb 11, 2025

@skateball
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or request to improve the current logic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @danishnawab@priya-kinthali@skateball

      Issue actions

        Support all Java versions · Issue #725 · actions/setup-java