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

Conversion fixes and a StackOverflow fix #437

Conversation

datho7561
Copy link

  • Set offset for permits keyword in TypeDeclaration
  • Fix conversion for TextBlock
  • Fix a StackOverflow caused by adjusting error ranges using tokens. Since the Context object was reused when acquiring the scanner, using the scanner caused the file to be reparsed, which retriggered validation, causing infinite recursion.

datho7561 added 4 commits May 29, 2024 11:57
Signed-off-by: David Thompson <davthomp@redhat.com>
Signed-off-by: David Thompson <davthomp@redhat.com>
Signed-off-by: David Thompson <davthomp@redhat.com>
Reusing the scanner from the parser while adjusting the error range
would reinvoke the parser, causing loop which results in a StackOverflow

Signed-off-by: David Thompson <davthomp@redhat.com>
@datho7561 datho7561 requested a review from robstryker May 29, 2024 19:20
@mickaelistria mickaelistria merged commit 515006e into eclipse-jdtls:dom-with-javac May 29, 2024
3 of 5 checks passed
@datho7561 datho7561 deleted the dom-with-javac-fix-errorrange-soe branch May 29, 2024 19:31
@fbricon
Copy link

fbricon commented May 30, 2024

unfortunately there's still the StackOverflow from #426

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.

3 participants