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

review: feat: read jvm version for default compliance level #6043

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

MartinWitt
Copy link
Collaborator

Maybe the current JVM version is a better default compared to 8 or?

@MartinWitt MartinWitt changed the title feat: read jvm version for default compliance level review: feat: read jvm version for default compliance level Oct 27, 2024
@SirYwell
Copy link
Collaborator

I think that's indeed a better default, but it's probably something we want to at least highlight in the next release? I also don't think we need to catch any exception around the version code, as it should work on Java 10 onwards and we're targeting Java 17.

@MartinWitt
Copy link
Collaborator Author

I think that's indeed a better default, but it's probably something we want to at least highlight in the next release?

Hmm, we could start collecting common answers and important behaviors on the website.

@SirYwell
Copy link
Collaborator

Hmm, we could start collecting common answers and important behaviors on the website.

Good idea. But maybe we can also improve the in-code documentation (e.g. add a comment to the DEFAULT_CODE_COMPLIANCE_LEVEL field). WDYT?

Copy link
Collaborator

@SirYwell SirYwell left a comment

Choose a reason for hiding this comment

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

👍

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.

2 participants