Hello,

I'm trying to use JEXL expressions similar to the ones described here
https://issues.apache.org/jira/browse/NUTCH-2368.

I consistently get an error parsing my "if" statement.

I can reproduce with a simpler expression:
-Dgenerate.max.count.expr='if (true) {return 2} else {return 1}'

I'm running 1.19 on java 11 (also tried with java 8).

Has anyone else seen this problem?

Thanks,
Ma

Reply via email to