-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Null safety via JSpecify #16882
Copy link
Copy link
Open
25 / 2825 of 28 issues completedLabels
type: enhancementA general enhancementA general enhancementtype: themeAn issue that describes a theme for a releaseAn issue that describes a theme for a release
Milestone
Metadata
Metadata
Assignees
Labels
type: enhancementA general enhancementA general enhancementtype: themeAn issue that describes a theme for a releaseAn issue that describes a theme for a release
Type
Fields
Give feedbackNo fields configured for issues without a type.
Spring Security should adopt JSpecify for Null safety as is done in Spring Framework
Related spring-projects/spring-framework#28797
Notes on Changes
Prior to this work, passwords were sometimes treated as never null, but the reality is that they could be null (when clearCredentials was invoked). This inconsistency was also present in APIs (e.g. PasswordEncoder) that produced and consumed passwords. The semantic meaning of a null password is now clearly defined as no password for the user.
NOTE: This is done in the parent issue vs each module because things like nullability of passwords impacts more than just the core project where the API is defined.