Given the DefaultDeserializer
allows the ClassLoader
to be null
, then it follows that the DeserializingConverter
should allow a null
ClassLoader
on construction.
Because the ClassLoader
constructor parameter is not declared @Nullable
in contexts (such as other framework code; for example, in SD Redis) where a ClassLoader
may not be provided, a compiler warning is present.
Indeed, a ClassLoader
is not strictly required to carry out the function of the DeserializingConverter
.