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

Use --release 8 during compilation #872

Merged
merged 1 commit into from
Jun 25, 2024
Merged

Use --release 8 during compilation #872

merged 1 commit into from
Jun 25, 2024

Conversation

normanmaurer
Copy link
Member

Motivation:

We should use --release 8 during compilation to ensure we always end up with the correct java version that is required.

Modifications:

  • Upgrade compiler plugin so the release flag is only used when compiling with java9+
  • Specify release flag
  • Fix source and target version as we already use JDK8 classes in the code.

Result:

Always end up with the correct bytecode

Motivation:

We should use --release 8 during compilation to ensure we always end up
with the correct java version that is required.

Modifications:

- Upgrade compiler plugin so the release flag is only used when
compiling with java9+
- Specify release flag
- Fix source and target version as we already use JDK8 classes in the code.

Result:

Always end up with the correct bytecode
@normanmaurer normanmaurer added this to the 2.0.66.Final milestone Jun 24, 2024
@normanmaurer normanmaurer merged commit b1827ee into main Jun 25, 2024
7 checks passed
@normanmaurer normanmaurer deleted the release branch June 25, 2024 06:54
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.

1 participant