Closed stephan-herrmann closed 4 weeks ago
The root cause is indeed the same for #2386 and #2399, and from a pure compiler p.o.v. it would be suitable to refuse any of this annotation stuff when the hierarchy of the current type is inconsistent (like unresolved types, or a cycle). Still a failure in JavaSearchBugs8Tests.testBug427677() advised me to keep trying to handle annotations as far as possible, so that search can find references even in buggy code.
fixes #2386 and #2399