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

add jdk17 option #241

Merged
merged 4 commits into from
Aug 23, 2024
Merged

Conversation

SimonHoenscheid
Copy link
Member

I stumbled over an issue with JDK17, which is documented here:

https://confluence.atlassian.com/confkb/unrecognized-jvm-gc-options-when-using-jdk-11-17-1002472841.html

This is just a quick fix. I am aware this module needs some love, so this is just the beginning

@h-haaks
Copy link
Contributor

h-haaks commented Aug 21, 2024

Seems like operatingsystem_support in metadata is so outdated that there is no os'es to run acceptance/integration tests on.
I would prefer having those up and running before approving this, but I don't have the time right away.

Do you have time to create another pr that add supported versions to metadata?

@SimonHoenscheid SimonHoenscheid added the enhancement New feature or request label Aug 23, 2024
<%- if scope.lookupvar('confluence::jvm_type') == 'openjdk-11' -%>
<%- if scope.lookupvar('confluence::jvm_type') == 'openjdk-17' -%>
CATALINA_OPTS="-XX:+ExplicitGCInvokesConcurrent ${CATALINA_OPTS}"
CATALINA_OPTS="-Xlog:gc*:file=$LOGBASEABS/logs/gc-%t.log:tags,time,uptime,level:filecount=5,filesize=2M ${CATALINA_OPTS}"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update unit tests? I think there is some jdk specific tests already.

@SimonHoenscheid SimonHoenscheid merged commit 8b65ce6 into voxpupuli:master Aug 23, 2024
23 checks passed
@SimonHoenscheid SimonHoenscheid deleted the jdk17_jvm_opts branch August 23, 2024 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants