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

Ignore all annotations in all scopes if source is missing #10035

Merged
merged 1 commit into from
Nov 11, 2024

Conversation

niloc132
Copy link
Member

@niloc132 niloc132 commented Nov 7, 2024

JDT supports three kinds of annotations, and the ASTVisitor lets them be encountered in two different scopes. This patch ensures that all six cases are handled, and adds a test that uses each of the six cases - removing any one of the visit implementations will fail the test by incorrectly reporting the annotation as not having sources available.

Fixes #10020
See #10021

…#10021)

JDT supports three kinds of annotations, and the ASTVisitor lets them be
encountered in two different scopes. This patch ensures that all six
cases are handled, and adds a test that uses each of the six cases -
removing any one of the `visit` implementations will fail the test by
incorrectly reporting the annotation as not having sources available.

Fixes gwtproject#10020
@niloc132 niloc132 added this to the 2.12.1 milestone Nov 7, 2024
@niloc132
Copy link
Member Author

niloc132 commented Nov 7, 2024

This is not a regression, but does impact projects trying to use jsinterop-base 1.0.2+.

@niloc132 niloc132 merged commit 6217e81 into gwtproject:release/2.12 Nov 11, 2024
4 checks passed
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