-
Bug
-
Resolution: Not a Bug
-
Blocker
-
None
Consider a scenario with two Coverter services available in service loader:
@Priority(101) public class Return101Converter implements Converter<Integer> { @Override public Integer convert(String value) { return 101; } }
@Priority(102) public class Return102Converter implements Converter<Integer> { @Override public Integer convert(String value) { return 102; } }
The @Priority of the Converter services is not considered, instead, their order in provider configuration file is - the first implementation will always be preferred.