Summary: | execution pointcut not working in Eclipse 4.3 to intercept us of SWT native dialogs | ||||||
---|---|---|---|---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Alan Staves <alan.staves> | ||||
Component: | LTWeaving | Assignee: | aspectj inbox <aspectj-inbox> | ||||
Status: | NEW --- | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 1.7.3 | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows 7 | ||||||
Whiteboard: | |||||||
Attachments: |
|
Created attachment 244283 [details] Example plugin and aspect projects I will attach a zip containing an example command which invokes the SWT DirectoryDialog along with an aspect project which should intercept this and return a fixed value (we use an aspect like this in some automated testing). Import the projects into a workspace and run Eclipse with JDT Weaving enabled, invoke the SampleMenu->Sample Command menu item - it should simply display a message box saying the call was intercepted but it will instead display the native directory browse dialog. The same aspect works fine with Eclipse 3.8 but not with 4.x - changing the "execution" to "call" and adding the relevant bundle to the Eclipse-SupplementBundle header is a workaround as that works with both 3.8 and 4.x.