eclipse-jdt / eclipse-jdt/eclipse.jdt.core

fallBackToSpringForward() fails to make progress

Open
#4,024 9 comments 0 reactions 1 assignee Claimed by @srikanth-sankaran View on GitHub
content assist
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 12h
Merged PRs (30d)
47

Description

From https://bugs.eclipse.org/541103:

Despite fixes in https://bugs.eclipse.org/539685 completion gets stuck in this example:
```java
import java.beans.JavaBean;

@JavaBean(data -> {
data.
})
public class Main {

}
```

Interestingly, the problem happens only after the class header has been parsed successfully (into a RecoveredType with the annotation incl. lambda present). We constantly go into RESTART, but after `this.scanner.ungetToken(nextToken);` we never get additional input.

I think this deserves a glance from the master of `fallBackToSpringForward()`: @srikanth-sankaran

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.