Fix for #1787: handling of Java nulls in "is" conditions
Test for #1787: handling of Java nulls in "is" conditions