commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Woonsan Ko <>
Subject [JEXL] How to set an empty string array property value?
Date Thu, 31 Oct 2013 21:14:58 GMT

I'm testing with JEXL 2.1.2-SNAPSHOT (The 2.0 branch snapshot).
My bean has a property setter with string array.

    public void setValues(String[] values) {
        // ...

And, a JEXL script setting an empty array like the following seems to fail and maybe it even
fails to find the property setter method:

  mybean.values = [];
Is it because it always tries to match a method with 'Object []' argument?
If so, isn't it something to improve?



  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message