Skip to content

Default CI Java Version to Java 11, run tests on 8, 11, 14 (and attempt 17) #64

@dblock

Description

@dblock

In the documentation we say:

We recommend Java 11 (LTS), but OpenSearch also works with Java 8.

OpenSearch 1.0, 1.1 and 1.2 have used Java 14, which is not an LTS release. Because of this:

  1. OpenSearch has lowered the JDK to 11 in Lower build requirement from Java 14+ to Java 11+ OpenSearch#940 and version 1.3.0 will package JDK 11 as a runtime via Downgrade to JDK 11. OpenSearch#2301.
  2. The build/distribution pipeline has lowered the JDK to 11 for 1.3.0 in Lower Java version to 11 for OpenSearch 1.3.0. opensearch-build#981.

Plugins need to do the same for 1.3.0.

Looking at 1.3.0:

Originally 1.3.0 was supposed to GA with JDK 17, but we ran into a number of issues:

For 2.0 we will remove support for Java 8, fix the above issues, upgrade to Gradle 7, and bundle JDK 17, which is #110.

OpenSearch

Plugins

Related

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions