Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

fix wrong JDK version for record introduction of enums article#138

Merged
ammbra merged 1 commit into
java:mainjava/devjava-content:mainfrom
danthe1st:enum-record-java-version-typodanthe1st/devjava-content:enum-record-java-version-typoCopy head branch name to clipboard
Oct 24, 2025
Merged

fix wrong JDK version for record introduction of enums article#138
ammbra merged 1 commit into
java:mainjava/devjava-content:mainfrom
danthe1st:enum-record-java-version-typodanthe1st/devjava-content:enum-record-java-version-typoCopy head branch name to clipboard

Conversation

@danthe1st

@danthe1st danthe1st commented Jan 18, 2025

Copy link
Copy Markdown
Contributor

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

@ammbra ammbra left a comment

Copy link
Copy Markdown
Collaborator

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
@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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.