Skip to content

[DO NOT MERGE] SONARJAVA-5442 Fix unit test caused by ECJ 3.41 #5071

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

Closed
wants to merge 13 commits into from

Conversation

alban-auzeill
Copy link
Member

No description provided.

tomasz-tylenda-sonarsource and others added 13 commits April 2, 2025 11:10
…w behavior.

In the 3.41 release of eclipse, the parser no longer fails when parsing Java 15 switch expression and with the java language support level set below 15. For now, disable tests affected by the bug.
Parser no longer fails on: (o != null ? o : null).bar()
Token's identifiers have slightly changed
The sample code no longer throws and exception in ECJ 3.41.0
remark using the pattern matching was not working either, so revert to using switch expression
Copy link

sonarqube-next bot commented Apr 8, 2025

Copy link
Contributor

This PR is stale because it has been open 7 days with no activity. If there is no activity in the next 7 days it will be closed automatically

@github-actions github-actions bot added the stale label Apr 16, 2025
@github-actions github-actions bot closed this Apr 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants