commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henrib <>
Subject Re: [JEXL] 2.0 change of behaviour for expressions - RFC
Date Tue, 01 Sep 2009 11:21:57 GMT

Correction, the behavior has *not* changed in the current trunk.
An expression with multiple statements still logs a warning upon creation
and only executes its first child.
Checked with:

public void testSebb() throws Exception {
        JexlContext ctxt = JexlHelper.createContext();
        JexlEngine jexl = new JexlEngine();
        Expression e = jexl.createExpression("3;4");
        assertEquals("3", e.evaluate(ctxt).toString());

The question about the need for both Script and Expression is indeed valid
View this message in context:
Sent from the Commons - Dev mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message