Java ignores whitespace — so why did ‘intx’ crash my program?

Even though whitespace feels like wasted effort — and the compiler supposedly ignores it — isn’t it unfair that we still have to type it?