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 of JaCoCo with JDK 23 EA after JDK-8324774 #1620

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

Conversation

Godin
Copy link
Member

@Godin Godin commented May 13, 2024

Prior to this change execution of

mvn clean verify -Djdk.version=23

using JDK 23 EA >= b16 fails with

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.3.0:enforce (enforce-distribution-size) on project jacoco:
[ERROR] Rule 0: org.apache.maven.enforcer.rules.files.RequireFilesSize failed with message:
[ERROR] /Users/evgeny.mandrikov/projects/jacoco/jacoco/jacoco/target/jacoco-0.8.13.202405130824.zip size (8253189) too large. Max. is 4600000/Users/evgeny.mandrikov/projects/jacoco/jacoco/jacoco/target/jacoco-0.8.13.202405130824.zip

due to https://bugs.openjdk.org/browse/JDK-8324774

After this change it will pass for JDK 23 EA >= b16, but unfortunately will fail for < b16 with

error: invalid flag: --no-fonts

@Godin Godin self-assigned this May 13, 2024
@Godin Godin added this to Candidates in Current work items via automation May 13, 2024
@Godin Godin marked this pull request as draft May 13, 2024 14:26
@Godin Godin moved this from Candidates to Implementation in Current work items May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Current work items
  
Implementation
Development

Successfully merging this pull request may close these issues.

None yet

2 participants