There is a theoretically possible NPE in SpringSupport.newContext() if configurationResources is null :
beanDefinitionReader.loadBeanDefinitions(configurationResources.toArray(new Resource[] {}));
Of course, the method parameter is annotated with @Nonnull, but we don't have a Constraint. And it's unlikely for a null to get this far down.
fixed 8737208.
At the same time I added constraints for both annotations @Nonnull and @NonnullElements to all four appropriate parameters
There is a theoretically possible NPE in SpringSupport.newContext() if configurationResources is null :
beanDefinitionReader.loadBeanDefinitions(configurationResources.toArray(new Resource[] {}));
Of course, the method parameter is annotated with @Nonnull, but we don't have a Constraint. And it's unlikely for a null to get this far down.