Skip to content

Fix: issue 3277 StackOverflow issue while parse MethodCallExpr/FieldAccessExpr, their ancestor/child node is ObjectCreation expression which contain .new#4447

Merged
jlerbsc merged 1 commit intojavaparser:masterfrom
jlerbsc:master
May 30, 2024

Conversation

@jlerbsc
Copy link
Copy Markdown
Collaborator

@jlerbsc jlerbsc commented May 30, 2024

Fixes #3277.

The resolution of the type of an accessed field must be delegated directly to the parent context because it cannot be done directly by the context of the accessed field.

StackOverflow issue while parse MethodCallExpr/FieldAccessExpr, their ancestor/child node is ObjectCreation expression which contain .new
@jlerbsc jlerbsc merged commit a4e6c95 into javaparser:master May 30, 2024
@jlerbsc jlerbsc added this to the next release milestone May 30, 2024
@jlerbsc jlerbsc added the PR: Fixed A PR that offers a fix or correction label May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: Fixed A PR that offers a fix or correction

Projects

None yet

Development

Successfully merging this pull request may close these issues.

StackOverflow issue while parse MethodCallExpr/FieldAccessExpr, their ancestor/child node is ObjectCreation expression which contain ".new"

1 participant