dev@javaserverfaces.java.net

Re: Please help: CDI definition failure:WELD-000409: Observer method for container lifecycle event

From: Edward Burns <edward.burns_at_oracle.com>
Date: Fri, 11 Sep 2015 12:47:56 -0700

On Fri, Sep 11, 2015 at 8:41 PM, Edward Burns <edward.burns_at_oracle.com> wrote:

>>>>>>> On Fri, 11 Sep 2015 11:36:34 -0700, Edward Burns <ed.burns_at_sun.com> said:
EB> http://mail.openjdk.java.net/pipermail/lambda-dev/2015-August/012146.html

EB> But what's the resolution?

>>>>> On Fri, 11 Sep 2015 20:51:33 +0200, arjan tijms <arjan.tijms_at_gmail.com> said:

AT> It's a kind of regression between JDK8 update 60 and Weld. At least
AT> from the side of Weld it's logged as a bug a subsequently fixed.

Thanks for your super responsive reply. I appreciate it.

AT> There are 3 solutions currently:

AT> 1. Don't compile with JDK8 u60 (can run with that, just don't use it
AT> for compiling)

I'll try that, thanks.

AT> 2. Update Weld

Is there a new Weld version that has the fix for this?

AT> 3. Don't use lambdas in these observer methods

That's the thing, my code doesn't even use CDI. Isn't this problem in
the RI?

Ed

-- 
| edward.burns_at_oracle.com | office: +1 407 458 0017
| 39 Business days til JavaOne 2015
| 54 Business days til DOAG 2015