Description
Right now we have a ConcurrentHashMap for ApplicationImpl _defaultValidatorsIds, but we are using a _cachedDefaultValidatorsIds too. In this case, it is better to use a synchronized block when default validators are added, but use a double-checked locking using volatile on the cache. Not use a synchronized block causes that getDefaultValidatorInfo() could return not all validators, but note that posibility is unlikely.