Affects Version/s: 18.104.22.168
Fix Version/s: 5.2.0
The Javadoc for ObjectLocator.autobuild() states that it "Autobuilds a class by finding the public constructor with the most parameters. Services and resources will be injected into the parameters of the constructor." However, this seems to only be true for the ServiceResourcesImpl implementation of the interface, which is aware of the following resources (code from 22.214.171.124, AbstractServiceCreator, line 63):
On the other hand, RegistryImpl is only aware of the OperationTracker resource (RegistryImpl line 841)
Specifically, one cannot call registry.autobuild() on any class that has a Logger resource in its constructor. If this is the intended behavior than the ObjectLocator javadoc should be updated.