Closed
Description
Maybe it could be nice to mention explicitly in documentation that Spring FWK 6.x doesn't support JSpecify.
When looking at : https://docs.spring.io/spring-framework/reference/6.2/core/beans/annotation-config/autowired.html
It says that
You can also use a
@Nullable
annotation (of any kind in any package — for example, javax.annotation.Nullable from JSR-305) or just leverage Kotlin built-in null-safety support:
But, according to the few tests I made, @org.jspecify.annotations.Nullable
can't be used in Spring FWK 6 to mark a non required dependency.