During the move to Spring 6.x, we encountered a co...
# compiler
s
During the move to Spring 6.x, we encountered a completely unexpected problem that Kotlin compiler does not know about
@Nullable
annotations from Jakarta library. I found a request (KT-54205) to add support for these annotations, but the task has been hanging in an unresolved status for two years now. The fix, at the same time, looks pretty trivial, but for some reason it has not been merged. It is only me, or this is a rather critical problem, given the fundamentally better work with nullable types in Kotlin compared to Java? Is it possible to raise the severity of this task?
m
There are far too many different nullable annotions out there in Java land. The latest attempt to standardize that and get rid of all the other ones is this https://jspecify.dev/ At least there is already a large number of companies behind that effort. Maybe you have the ability to replace the ones in your code with this new spec which is already supported by Jetbrains.
s
@Michael Paus Unfortunately, this is not always possible. There are external dependencies, for example, when generating clients in OpenAPI.