Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: breaking changes in 4.0 for CDI (was: RE: [cdt-debug-dev] List of Plan items)

> For example adding IAdaptable to ICDIObject and ICDISessionObject are
breaking changes. 

There are many ways to minimize the impact of this type of changes.
For example, introduce new ICDIObject2 and ICDISessionObject2 interfaces
and add two new abstract classes:

abstract class AbstractObject implements ICDIObject, ICDIObject2

abstract class AbstractSessionObject implements ICDISessionObject,
ICDISessionObject2

Implementors can use theses classes as base classes for their hierrachy.
It's not a very good solution, but it covers most of the use cases.

I agree, 4.0 is a major release, but we at least should try to make the
transition easier.

-----Original Message-----
From: cdt-debug-dev-bounces@xxxxxxxxxxx
[mailto:cdt-debug-dev-bounces@xxxxxxxxxxx] On Behalf Of Alain Magloire
Sent: 18 October 2006 17:31
To: CDT Debug developers list
Subject: RFC: breaking changes in 4.0 for CDI (was: RE: [cdt-debug-dev]
List of Plan items)

> From: cdt-debug-dev-bounces@xxxxxxxxxxx [mailto:cdt-debug-dev- 
> bounces@xxxxxxxxxxx] On Behalf Of Mikhail Khodjaiants
> Sent: Wednesday, October 18, 2006 11:53 AM
> To: CDT Debug developers list
> Subject: RE: [cdt-debug-dev] List of Plan items
> 
> John,
> 
> I don't think anyone is planning to break compatibilty. All API 
> changes and extensions should be discussed and approved by the
community.
>

Correct, but this is what he's asking, feedback/exchanges.


To resume:

(1) Should the changes in CDI break compatibility in the coming 4.0?
	For example adding IAdaptable to ICDIObject and
ICDISessionObject
are 	breaking changes.

(2) Should we introduce org.eclipse.* namespace in the CDI



For (1)
+1 break the API
	Rationale: 4.0 is a major revision

For (2)
0 do not care

So what do other folks think?

 

_______________________________________________
cdt-debug-dev mailing list
cdt-debug-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-debug-dev

-- 
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium.  Thank you.




Back to the top