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

Suppress CoreException thrown by TokenScanner when EOF reached. #1614

Merged
merged 1 commit into from
Nov 26, 2020

Conversation

rgrunber
Copy link
Contributor

Signed-off-by: Roland Grunberg [email protected]

- Fixes eclipse-jdtls#1611
- TokenScanner.readNext(..) throws CoreException with appropriate code
  when EOF is reached instead of returning TokenNameEOF so the
  exception logging should be suppressed in this case

Signed-off-by: Roland Grunberg <[email protected]>
@testforstephen testforstephen added this to the End November 2020 milestone Nov 26, 2020
@testforstephen testforstephen merged commit 456559a into eclipse-jdtls:master Nov 26, 2020
@rgrunber rgrunber deleted the fix-1611 branch November 26, 2020 14:41
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.

End of File exception when opening completion in empty file
2 participants