Bug 435136 - Document differences between OTRE and OTDRE
Summary: Document differences between OTRE and OTDRE
Status: RESOLVED FIXED
Alias: None
Product: Objectteams
Classification: Tools
Component: OTJ (show other bugs)
Version: 2.3   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 2.3   Edit
Assignee: Stephan Herrmann CLA
QA Contact:
URL:
Whiteboard:
Keywords: Documentation
Depends on:
Blocks:
 
Reported: 2014-05-17 14:15 EDT by Stephan Herrmann CLA
Modified: 2014-06-14 12:38 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Herrmann CLA 2014-05-17 14:15:11 EDT
The choice of weaving strategy has several implications, which shall be collected in this bug.
Comment 1 Stephan Herrmann CLA 2014-05-17 14:17:59 EDT
No discrimination of static method invocations:

The second item in http://www.objectteams.org/def/1.3/s4.html#s4.7.e doesn't play well with the OTDRE strategy, because this requires to insert a new method into the sub case class. The OTDRE strategy avoids such additions, and hence cannot implement these semantics.
Comment 2 Stephan Herrmann CLA 2014-05-17 17:35:56 EDT
OTDRE currently does not support LiftingParticipants (see https://wiki.eclipse.org/OTRE_Parameters )

Note that also the corresponding extension point is not supported by the Luna version of OT/Equinox, see bug 406518 comment 2.
Comment 3 Stephan Herrmann CLA 2014-05-17 19:45:54 EDT
(In reply to Stephan Herrmann from comment #1)
> No discrimination of static method invocations:
> 
> The second item in http://www.objectteams.org/def/1.3/s4.html#s4.7.e doesn't
> play well with the OTDRE strategy, because this requires to insert a new
> method into the sub case class. The OTDRE strategy avoids such additions,
> and hence cannot implement these semantics.

See also commit 5030dd458ec4035ea507247f77d42eb2def43dd9 and conditionally disabled test testX15_callinFromStaticBaseMethod23
Comment 4 Stephan Herrmann CLA 2014-06-09 14:57:52 EDT
Marking the bug as Documentation. In particular the gory details will not be contained in the online help, but a wiki page seems betters suitable for this.

As a result this bug is not blocking the final build of OTDT 2.3.0 (but should still be resolved in time for the release).
Comment 5 Stephan Herrmann CLA 2014-06-14 12:38:55 EDT
The wiki page https://wiki.eclipse.org/OTVersions/Migrating_to_Luna has been created.