class ThrowNull { public static void main(String[] args) { throw null; } }
We know that rule for throw is throw ThrowableInst
throw ThrowableInst
In generel, and not just throw. Any object variable can be assigned null. So we can see that throw is not a special case. Should it be? maybe. Is it consistent? Yes.