public void testParsingStability2() {
    Map<String, Object> imports = new HashMap<String, Object>();
    imports.put("java.awt.Dimension",
        Dimension.class);

    final ParserContext parserContext = new ParserContext(imports, null, "sourceFile");
    parserContext.setStrictTypeEnforcement(false);

    ExpressionCompiler compiler =
      new ExpressionCompiler("( dim.height == 1 || dim.height == ( 1+1) || dim.height == x )", parserContext);
    compiler.compile();
  }