"Michael Beck (Team JEDI)" wrote:

> Inheritance is an addition/deletion/change (i.e. modification) of the
> substance/structure of the existing class.  If you don't want to "modify"
> the class, WHY would you subclass it in the first place?

The MPL speaks of modifications to the code, not to the behaviour.

If modified behaviour was included by MPL then we should also consider
aggregation, reflection, proxy objects, and whatever clever mechanism
are available in a given programming language.

> If you inherit a class in a new file, IMHO it does "implicitly" contain
> parts of the Original Code.
> 
> Unless you want to claim that inheritance doesn't modify the original class
> in any shape and form.

If the SynEdit component is "released as a series of files", then MPL
is quite clear that a modification is a change to the content of a file
covered by MPL, or copying of code from a file covered by MPL to another
file. Inheritance modifies behaviour, not the contents of a file.

Reply via email to