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

[Java 22] HierarchicalASTVisitor must be updated to reflect a change in the ASTNode hierarchy #2193

Closed
srikanth-sankaran opened this issue Mar 20, 2024 · 2 comments
Assignees

Comments

@srikanth-sankaran
Copy link
Contributor

The test org.eclipse.jdt.ui.tests.core.HierarchicalASTVisitorTest fails here

with

HierarchicalASTVisitor must be updated to reflect a change in the ASTNode hierarchy. No method visit(AbstractUnnamedTypeDeclaration) was found in HierarchicalASTVisitor.

java.lang.AssertionError: HierarchicalASTVisitor must be updated to reflect a change in the ASTNode hierarchy. No method visit(AbstractUnnamedTypeDeclaration) was found in HierarchicalASTVisitor.
at org.junit.Assert.fail(Assert.java:89)
at org.eclipse.jdt.ui.tests.core.HierarchicalASTVisitorTest.checkHierarchicalASTVisitorMethodExistsFor(HierarchicalASTVisitorTest.java:540)
at org.eclipse.jdt.ui.tests.core.HierarchicalASTVisitorTest.checkAllMethodsForHierarchyExist(HierarchicalASTVisitorTest.java:513)
at org.eclipse.jdt.ui.tests.core.HierarchicalASTVisitorTest.test(HierarchicalASTVisitorTest.java:489)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
@srikanth-sankaran
Copy link
Contributor Author

@jarthana thanks for following up. Mildly surprised to see this as a top level abstraction. Honestly haven't thought about it deeply myself.

@iloveeclipse
Copy link
Member

Seem to be fixed in the meantime

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

No branches or pull requests

3 participants