*** 25,34 **** --- 25,37 ---- fail("array access not allowed"); } try (args.length == 0 ? v : v) { fail("general expressions not allowed"); } + try ((TwrForVariable2)null) { + fail("null as variable is not allowed"); + } } static void fail(String reason) { throw new RuntimeException(reason); }