This is mainly for performance and memory layouts, it would not have improved safety guarantees of java.

It would have implicitly brought some null-safety to java with primitive-like classes that can not be null.