Two synchronized methods on javax.validation.Validation.GetValidationProviderListAction guards providersPerClassloader static field. So the two methods should be static.