jsr366-experts@javaee-spec.java.net

[jsr366-experts] Re: Compatibility Problems with MR Resource Annotation Widening

From: Bill Shannon <bill.shannon_at_oracle.com>
Date: Thu, 05 Mar 2015 17:28:59 -0800

Jason Greene wrote on 03/05/2015 04:04 PM:
> Looking into the weld history, it turns out that the CDI RI did subsequently
> add everything (method support etc) except for the class annotations bit.

So maybe there's only a small implementation bug?

My expectation (based on the wording in Chapter 8 of the platform spec)
was that CDI didn't need to know anything about these class level annotations
because the deployment process would scan all classes and find them and
process them at deployment time. I think that's what's happening in the RI,
so I don't think the RI needs Weld to tell it anything about them.


Would you care to summarize where we are now? :-)

What do you think *should* work (even if some implementations are broken)?