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

[jmx-scraper] keep old servlet API and java8 compatibility #1554

Closed
wants to merge 3 commits into from

Conversation

SylvainJuge
Copy link
Contributor

@SylvainJuge SylvainJuge marked this pull request as ready for review November 19, 2024 15:15
@SylvainJuge SylvainJuge requested a review from a team as a code owner November 19, 2024 15:15
@trask
Copy link
Member

trask commented Nov 19, 2024

I've opened #1554 with the needed changes to the renovate config bundled with another change that allows building on recent ARM-based MacOS systems.

can you explain this part a bit more? why is it only a problem for these two modules? thanks!

@SylvainJuge
Copy link
Contributor Author

can you explain this part a bit more? why is it only a problem for these two modules? thanks!

Yes this is only for those two modules.

The problem here was that instead of just "compiling to java 8" we used to require to have a Java 8 SDK (aka "toolchain" for gradle) installed to compile the module.

For example with Temurin: https://adoptium.net/temurin/releases/?os=mac&arch=aarch64&version=8 returns nothing, but we should be able to use JDK 11 or any later JDK version that allows to compile to java 8. From what I understand this is problematic only on ARM-based Macs because there is no aarch64 variant for JDK 8, so gradle can't find nor even try to download it when needed.

@trask
Copy link
Member

trask commented Nov 19, 2024

can you check if this addresses the issue? #1555

@SylvainJuge
Copy link
Contributor Author

#1555 fixes the issue, so I'll close this PR. Thanks @robsunday for double-checking it now works as expected in MacOS + ARM.

@laurit
Copy link
Contributor

laurit commented Nov 20, 2024

From what I understand this is problematic only on ARM-based Macs because there is no aarch64 variant for JDK 8, so gradle can't find nor even try to download it when needed.

FYI corretto has aarch64 jdk8 for mac.

@SylvainJuge SylvainJuge deleted the java8_renovate branch November 20, 2024 15:08
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.

5 participants