Skip to content

Add java 17 build pipeline #607

Open
@ST-DDT

Description

@ST-DDT

Java 8 is reaching end of life and Java 17 is the new rising star.
For that reason we should add Java 17 to our build pipeline to ensure that this library behaves as expected.

This new build pipeline requires additional properties to work as expected as shown here:
632a8c5 (#520)
However, these properties are incompatible with Java 8.
For that reason we should drop the Java 8 build pipeline and start releasing this library using a JDK 11 while still retaining a Java 8 JRE compatibility.

Alternatives considered

Add the Java 17 pipeline and just turn off the conflicting parts/checks and thus avoid adding properties that are incompatible with Java 8.
As Java 17 continues to rise, it is very likely that contributors use the latest available JDK to build this project when suggesting new features. They will then experience ci build failures, where the checks are executed using a compatible JDK and as a result have a hard time fixing the errors as they don't have the easy tooling support to fix the style issues automatically.

Side note

This library's built binaries are already Java 17 compatible. It is just impossible to build it with JDK15/16+.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementA feature request or improvementincompatibilityIncompatibilities between components or versions

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions