2013/4/24 Rémy Maucherat <rmaucher(a)redhat.com>
On 04/24/2013 10:13 AM, Emmanuel Bernard wrote:
> We have seen bugs in the EL around calls to methods with varargs that
made it unusable for Bean Validation. We reported it to oracle but I don't
know if that has been fixed since. Hardy and Gunnar can comment more
accurately than my 10000 feet view.
> We have been happy with JUEL AFAIR.
We started with JUEL but then switched over to the RI. We worked around the
var-args issue by plugging in a custom ELResolver which takes care of the
var-args method invocation. That way HV doesn't depend on a specific EL
impl and our tests pass with RI and JUEL.
I don't see anything wrong with using your own, especially if you
don't
need the EL3 functionality ASAP. If you do, it's probably the only
option available for some time. So it will be used by Jasper through the
EL3 API and from its own com.sun.el module (probably), while the current
impl is bundled.
I'm not sure I'm following, does that mean you will create a dedicated
module for the EL stuff or not?
Having our own copy of the EL libs in the HV module works, definitely for
the time being. I assumed though that having one EL module which can be
used by all EL clients would be beneficial for the sake of the distribution
size (admittedly the RI JARs are < 150 KB).
Yes, I don't think it was perfect for method mapping, but
it's a pretty
convoluted topic overall.
Rémy
_______________________________________________
jboss-as7-dev mailing list
jboss-as7-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev