Can you cite a specific example where the condition is NOT ambiguous and the Java compiler WILL produce an error? The example you cite is incorrect (see my post later) - you can compile code of this form just fine.
I'm not aware of unambiguous situations where the compiler will complain; if you see an error it's usually pebkac!