Ok, thanks Mark. I realized how naive my question was ;).

Le lun. 29 juin 2015 à 15:33, Mark Struberg <struberg@yahoo.de> a écrit :
adding new methods to the BeanManager is not a problem. I think there are not that many implementations of the BeanManager interface in customer projects ;)

But for CDI SPI event interfaces like ObserverMethod, Producer, etc there ARE such impls in customer projects. Thus we need a default method in the interface for those .

LieGrue,
strub


> Am 29.06.2015 um 14:36 schrieb Antoine Sabot-Durand <antoine@sabot-durand.net>:
>
>
>
>
> I noticed there's a new isAsync() method in the ObserverMethod interface.
>
> It was a correction after one of your feedback: https://github.com/cdi-spec/cdi/pull/250#issuecomment-112107108
>
> There's the same in EventMetaData
>
> That is a breaking change. We'll need to use a default method or some other way that does not break existing OM implementations.
>
> No problem to switch to private method.
> Sorry for the naive question but I need to understand, why this change is "breaking" while the ones in CDIProvider are not?
>
> More widely how did you manage to add all these new methods in BeanManager for CDI 1.1 without introducing breaking change as well?
>
> Antoine
>
>
>
> Jozef
>
>
> On 06/25/2015 11:19 AM, Antoine Sabot-Durand wrote:
>> Hi guys,
>>
>> The branch 2.0-EDR1 is ready for release.
>>
>> Beyond the source, you can check javadoc here:
>> https://dl.dropboxusercontent.com/u/2898173/EDR1-Doc/index.html
>>
>> And spec here:
>> https://dl.dropboxusercontent.com/u/2898173/cdi-spec.html
>>
>> Or PDF version:
>> https://dl.dropboxusercontent.com/u/2898173/cdi-2.0-EDR1.pdf
>>
>> I have still some work on introduction (major changes, etc…) and on copyright in source files and intend to start release process (three the JCP) tomorrow.
>>
>> Antoine
>>
>>
>> _______________________________________________
>> cdi-dev mailing list
>>
>> cdi-dev@lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/cdi-dev
>>
>>
>> Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (
>> http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.
> _______________________________________________
> cdi-dev mailing list
> cdi-dev@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/cdi-dev
>
> Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.