Skip to content

Conversation

@MBoegers
Copy link
Contributor

@MBoegers MBoegers commented Oct 25, 2022

Java 17 introduced sealed classes/interfaces with EP 409: Sealed Classes. The new keywords sealed and non-sealed were present but permits was missing.

Resolves #3646

Changes

Permits is now a general keyword and the present tests are fixed acordingly.

Checklist

  • Added markup tests, see test/markup/java/titles.expect.txt
  • Updated the changelog at CHANGES.md

@MBoegers MBoegers mentioned this pull request Oct 25, 2022
2 tasks
Copy link
Member

@joshgoebel joshgoebel left a comment

Choose a reason for hiding this comment

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

Thanks so much!

@joshgoebel joshgoebel merged commit f035aab into highlightjs:main Oct 30, 2022
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.

(java) Sealed Classes keywords

2 participants