Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357552 - Revert modifier change of JavaElement.escapeMementoName(..)
Summary: Revert modifier change of JavaElement.escapeMementoName(..)
Status: VERIFIED FIXED
Alias: None
Product: Objectteams
Classification: Tools
Component: OTDT (show other bugs)
Version: 2.0   Edit
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: 2.1 M2   Edit
Assignee: Stephan Herrmann CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 351085
  Show dependency tree
 
Reported: 2011-09-13 15:57 EDT by Stephan Herrmann CLA
Modified: 2012-09-22 11:08 EDT (History)
0 users

See Also:


Attachments
fix (3.77 KB, patch)
2011-09-13 16:01 EDT, Stephan Herrmann CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Herrmann CLA 2011-09-13 15:57:56 EDT
Some time ago we changed JavaElement.escapeMementoName(..) from protected 
to public static to enable access from OT model elements.

This breaks the AJDT which tries to invoke the method from its own
subclass of JavaElement (AspectJMemberElement).

Also, the change is no longer relevant since meanwhile all OT model elements
subclass JavaElement, too.
Comment 1 Stephan Herrmann CLA 2011-09-13 16:01:57 EDT
Created attachment 203297 [details]
fix

The fix is straight-forward.
Comment 2 Stephan Herrmann CLA 2011-09-13 16:03:12 EDT
Released for 2.1 M2 (r2014).
Comment 3 Stephan Herrmann CLA 2012-09-22 11:08:35 EDT
Verified via code inspection.