A service which is EagerLoaded cannot use object injection, it must use InjectService.
If the eager loaded service uses object injection then it will cause an error because the alias service has not had its mode set when eager loaded services are created.
e..g This builder method results in an error
public RegistryShutdownListener buildFileCleanerCleanup( RegistryShutdownHub hub)
When service injection is used it is ok.
public RegistryShutdownListener buildFileCleanerCleanup(@InjectService("RegistryShutdownHub") RegistryShutdownHub hub)
Not sure if this can actually be fixed, or if it just needs to be documented.