public void testCompileParserContextShouldNotLoopIndefinitelyOnValidJavaExpression() {
    String expr = "		System.out.println( message );\n" + //
        "m.setMessage( \"Goodbye cruel world\" );\n" + //
        "System.out.println(m.getStatus());\n" + //
        "m.setStatus( Message.GOODBYE );\n";

    ParserContext context = new ParserContext();
    context.setStrictTypeEnforcement(false);

    context.addImport("Message",
        Message.class);
    context.addInput("System",
        void.class);
    context.addInput("message",
        Object.class);
    context.addInput("m",
        Object.class);

    ExpressionCompiler compiler = new ExpressionCompiler(expr, context);
    compiler.compile();
  }