Skip to content

Update Java definitions with newer language features#5297

Open
orosmatthew wants to merge 1 commit intomicrosoft:mainfrom
orosmatthew:update-java-def
Open

Update Java definitions with newer language features#5297
orosmatthew wants to merge 1 commit intomicrosoft:mainfrom
orosmatthew:update-java-def

Conversation

@orosmatthew
Copy link
Copy Markdown

@orosmatthew orosmatthew commented Apr 10, 2026

Fixes #3582

The existing Java language definition is missing support for several new Java features. This PR adds support for the newer syntax/features.

Changes

  • Add keywords: var, when, _, module, requires, exports, provides, uses, with, open, opens, to, transitive.
  • Add operators: ->, ::.
  • Add markdown javadoc: Treats /// as comment.doc instead of standard line comment.
  • Add tests for all these changes.

@orosmatthew
Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

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.

[Feature Request] Bump Java language support to latest version

1 participant