The compiler makes sure your code will run, not th...
# announcements
r
The compiler makes sure your code will run, not that it will do what you want. Since
null as String
can run (albeit with an exception), the compiler happily compiles it down to the appropriate bytecode.