> The @ConsumerType annoation will be in future spec. Adding a method 
> in an interface is a major version change if the interface has the 
> annoation of @ConsumerType while it will be a minor change if the 
> interface has the annoation of @ProviderType.
> 
> In reality, most interfaces will fall into the category of 
> ProviderType while only minority interfaces need consumer to implement.

I think this is a statement of opinion and I don't think there is any data 
to confirm this one way or the other. In the absence of being marked 
@ConsumerType or @ProviderType, tooling must assume the safest case which 
is to assume the type is @ConsumerType. This results in the most 
conservative versioning. I think the Aries versioning tool is wrong here 
by assuming @ProviderType.
-- 

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
[email protected]

office: +1 386 848 1781
mobile: +1 386 848 3788
_______________________________________________
OSGi Developer Mail List
[email protected]
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to