Dicebot:

I don't know where it comes from but non-nullable reference type has ZERO value if it is not the default one.

This article talks about switching to NotNull on default in real (small) Java projects (you have to add a @NonNullByDefault at package level to change the default):

http://blog2.vorburger.ch/2014/07/java-8-null-type-annotations-in-eclipse.html

Bye,
bearophile

Reply via email to