commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From henrib <>
Subject Re: [JEXL] New non-private mutable fields
Date Thu, 01 Dec 2011 14:15:45 GMT
I don't think the JexlEngine mutable fields should be made volatile. Same as
JexlArithmetic btw.

The intent is not to change them but just to allow configuration of the
behavior after the ctor but before usage. In the future, those should also
be made final  and/or use "feature" ala JexlThreadeArithmetic.
This would probably require a JexlEngineBuilder of some sort since the list
of options/parameters is pretty long...

I'd rather see these setters documented the same (previous) way as in:
This method is <em>not</em> thread safe; it should be called as an optional
step of the JexlEngine initialization code before expression creation &amp;
And may be add:
Changing them after initialization may result in undefined behavior.

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