JDK-8078600 : Infinite loop when compiling annotations with -XDcompletionDeps
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2015-04-24
  • Updated: 2015-06-04
  • Resolved: 2015-04-28
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b63Fixed
Related Reports
Blocks :  
Description
The Dependencies component registers itself as completer when the completer would otherwise be null. This causes an infinite loop in Annotate when compiling annotations.

Update: The reason for having a 'while' loop over the completer is to make sure the symbol is pulled through both Enter and MemberEnter. Having 'completer == null' as termination condition is however not compatible with Dependecies (which adds itself as completer when the completer would otherwise be null).