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

Improve rename tests so they can work with Javac too #3260

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

mickaelistria
Copy link
Contributor

The current code being tested has syntax errors. Those errors prevents Javac from properly setting up bindings (and it's not obvious that Javac is more wrong than ECJ, so there are little chance Javac gets changed to behave like ECJ).
Those syntax errors do not seem so relevant for the case being covered. So we get rid of them to focus on the "correct" case and allow Javac to work with it.

@mickaelistria
Copy link
Contributor Author

@yaohaizh since you authored those tests, can you please review and confirm my interpretation that the syntax error is not intentionally included in test?

@mickaelistria
Copy link
Contributor Author

test this please

1 similar comment
@mickaelistria
Copy link
Contributor Author

test this please

The current code being tested has syntax errors. Those errors prevents
Javac from properly setting up bindings (and it's not obvious that Javac
is more wrong than ECJ, so there are little chance Javac gets changed to
behave like ECJ).
Those syntax errors do not seem so relevant for the case being covered.
So we get rid of them to focus on the "correct" case and allow Javac to
work with it.
@rgrunber rgrunber merged commit a5ddf36 into eclipse-jdtls:master Sep 4, 2024
6 of 7 checks passed
@rgrunber rgrunber added this to the End September 2024 milestone Sep 4, 2024
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.

2 participants