-
Notifications
You must be signed in to change notification settings - Fork 5
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
when
clause not working with JDK 21
#27
Comments
when
clause not working with JDK 21
rsmckinney
added a commit
that referenced
this issue
May 10, 2024
- update statement parser to handle 'when' switch expression clause
@rsmckinney Does this also fix parsing of other new language features? Such as string interpolation and stuffs |
Yes, JDK 21 is all covered. |
Thank you! Should I close the issue? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After installing the manifold plugin, IntelliJ IDEA can no longer parse the above code:
![image](https://private-user-images.githubusercontent.com/16398479/329417837-5b7ba8bb-d68a-4a64-9dbe-e20ce6781ed9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQwMDQwNjYsIm5iZiI6MTcyNDAwMzc2NiwicGF0aCI6Ii8xNjM5ODQ3OS8zMjk0MTc4MzctNWI3YmE4YmItZDY4YS00YTY0LTlkYmUtZTIwY2U2NzgxZWQ5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE4VDE3NTYwNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNmNDg2N2Q3NjQ0YjQ1MzZjMzdhZmU0Mzg5NDBhOTNmNTM3OWJhMzVkMDZhOTk0ZGVjYzZlNDA4NWI0NWJhY2YmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.KRQP3Z3fr5tRlHN3s90Vb4EoFDI5fSBIFHOpeGfHLeI)
Environment:
Related report: https://youtrack.jetbrains.com/issue/IDEA-353282/Java-21-syntax-is-no-longer-supported
The text was updated successfully, but these errors were encountered: