Skip to content

Conversation

@danthe1st
Copy link
Contributor

@danthe1st danthe1st commented Jan 18, 2025

As reported in #137, the article about enums (#45) states the wrong JDK version for the introduction of records.

This PR changes it to JDK 16 which is when Records have been introduced:
image

I haven't included the version when records have been introduced as a Preview feature since I think most people reading the article about enums are probably not interested in the exact history of records, they probably only want to know when they can use it.

fixes #137

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Jan 18, 2025
@ammbra ammbra self-requested a review October 24, 2025 10:19
Copy link
Collaborator

@ammbra ammbra left a comment

Choose a reason for hiding this comment

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

Looks good and thank you.

@ammbra ammbra merged commit 457e0df into java:main Oct 24, 2025
1 check passed
@danthe1st danthe1st deleted the enum-record-java-version-typo branch October 24, 2025 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Typo in the Conclusion Section of Enums Tutorial

3 participants