Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Use Java 21 for building JMeter #6125

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vlsi
Copy link
Collaborator

@vlsi vlsi commented Nov 24, 2023

Description

Java 21 has been released some time ago, so we can use it as the default build JDK.

Motivation and Context

We want to use the recent javac to avoid bugs in the old compilers.
Java 21 supports --release 8, so we would still support running with Java 8.

TODO

  • Wait for Gradle 8.5 release. It would enable us to target Java 21 in the build scripts. Otherwise, we would need both Java 17 (for the build scripts) and Java 21 for the main build
  • Deal with "Java 21 not being released by Semeru". Currently, we expect that "default build Java" is to be available in all the distributions (see
    # The latest one will be the default, so we use Java 17 for launching Gradle
    java-version: |
    ${{ matrix.non_ea_java_version }}
    17
    distribution: ${{ matrix.java_distribution }}
    ), however, it is failing for Semeru

@vlsi vlsi marked this pull request as draft November 24, 2023 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant