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
{{ message }}
Repository navigation
SystemProfileValueSource is not very compatible with the new 3.1 default system property profiles [SPR-8985] #13625
SystemProfileValueSource is not very compatible with the new 3.1 default system property profiles. If System.getProperty("spring.profiles.active") is null then the "default" profile is active, which is quite handy in <beans/> configuration. But the old SystemProfileValueSource from 2.0 returns null in that case, which then cannot be matched to anything legal in the @IfProfileValue annotation. I suggest that returning the empty String would be more sensible anyway and won't break any existing code because null is not legal as an annotation value.
changed the title [-]SystemProfileValueSource is not very compatible with the new 3.1 default system property profiles [SPR-8985][/-][+]`SystemProfileValueSource` is not very compatible with the new 3.1 default system property profiles [SPR-8985][/+]on Jan 10, 2024
Activity
[-]SystemProfileValueSource is not very compatible with the new 3.1 default system property profiles [SPR-8985][/-][+]`SystemProfileValueSource` is not very compatible with the new 3.1 default system property profiles [SPR-8985][/+]sbrannen commentedon Jan 10, 2024
Closing for the same reasons given in #12410 (comment).