eclipse-jdt / eclipse-jdt/eclipse.jdt.core
Bug 574072 - [builder] chunked compilation has problems with references to secondary types
- Dominant language
- Java
- Stars
- 237
- Forks
- 195
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 47
Description
https://bugs.eclipse.org/574072:
> [Bug 571522 comment 13](https://bugs.eclipse.org/bugs/show_bug.cgi?id=571522#c13) shows an example that doesn't cleanly compile with a small maxCompiledUnitsAtOnce (in this case: 1).
Using [Bug574072.zip](https://github.com/user-attachments/files/20519216/Bug574072.zip) the following steps are still broken:
1. start eclipse.exe -vmargs -DmaxCompiledUnitsAtOnce=1
2. import the Java project from Bug574072.zip
3. project/ Clean...=> "B2 cannot be resolved to a type"
4. touch A.java
5. save A.java (assuming autobuild on)
=> error gone.
6. project/ Clean...
=> "B2 cannot be resolved to a type"
Contributor guide
Assessment
This issue has not been assessed yet.