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

Fix build with JDK >= 20 when option -Dbytecode.version is not provided #1605

Merged
merged 1 commit into from Apr 9, 2024

Conversation

Godin
Copy link
Member

@Godin Godin commented Mar 27, 2024

Due to https://bugs.openjdk.org/browse/JDK-8173605 currently the execution of build with JDK 20 and higher requires specification of -Dbytecode.version, ie execution of mvn clean package -Dbytecode.version=8 succeeds, whereas execution of mvn clean package fails

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:compile (default-compile) on project org.jacoco.core: Compilation failure: Compilation failure:
[ERROR] Source option 7 is no longer supported. Use 8 or later.
[ERROR] Target option 7 is no longer supported. Use 8 or later.

@Godin Godin added this to the 0.8.12 milestone Mar 27, 2024
@Godin Godin self-assigned this Mar 27, 2024
@Godin Godin added this to Implementation in Current work items via automation Mar 27, 2024
@Godin Godin modified the milestones: 0.8.12, 0.8.13 Apr 9, 2024
@Godin Godin marked this pull request as ready for review April 9, 2024 09:09
@Godin Godin requested a review from marchof April 9, 2024 09:09
@Godin Godin moved this from Implementation to Review in Current work items Apr 9, 2024
@marchof marchof merged commit 2f7f841 into jacoco:master Apr 9, 2024
28 checks passed
Current work items automation moved this from Review to Done Apr 9, 2024
@Godin Godin deleted the JDK-8173605 branch April 9, 2024 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants