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

fix: Suppress this-escape warning in generated Parser introduced in JDK 21 #4486

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

nielsbasjes
Copy link
Contributor

This fixes #4485

@nielsbasjes
Copy link
Contributor Author

@parrt FYI: The bug report #4341 was only partially fixed by #4394 . This pull request fixes the missing part for that issue.

@nielsbasjes
Copy link
Contributor Author

Gentle ping to @parrt, this is ready for review.

@parrt parrt merged commit 851ddee into antlr:dev Feb 23, 2024
42 checks passed
@nielsbasjes nielsbasjes deleted the Java21ThisEscape branch February 23, 2024 18:56
combolek added a commit to combolek/antlr4 that referenced this pull request May 14, 2024
This is a followup to 851ddee and PR antlr#4486. Parser constructor needs a similar pragma.
combolek added a commit to combolek/antlr4 that referenced this pull request May 14, 2024
This is a followup to 851ddee and PR antlr#4486. Parser constructor needs a similar pragma.

Signed-off-by: combolek <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Java] Generated code gives "this escape" warning on Java 21 in Parser class
2 participants