You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@yukihane thank you for the suggestion that the exception be refined. It's a nice improvement to be able to replace an NPE with a more helpful error message.
Would you be interested in submitting a PR to change this check into a for loop?
Describe the bug
When use
java.util.List.of()
,ProviderManager#checkState()
throwsNullPointerException
.checkState()
usesList#contains(null)
since #7713 (comment), but it may throwsNullPointerException
:To Reproduce
Expected behavior
NPE
is not thrown.The text was updated successfully, but these errors were encountered: