Bug 331075

Summary: Resolved TypePattern nodes need to be tested for correctness
Product: [Tools] AspectJ Reporter: Nieraj Singh <dv.nisingh>
Component: CompilerAssignee: aspectj inbox <aspectj-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: DEVELOPMENT   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Nieraj Singh CLA 2010-11-24 18:42:14 EST
Build Identifier: Eclipse 3.6 I20100608-0911


Although implementations for resolved TypePattern nodes like ExactTypePattern and BindingTypePattern nodes exist in both weaver and DOM ASTs, they are not covered by any unit tests, and consequently their implementation and conversion from weaver to DOM AST nodes have not been validated. The conversion occurs in AjASTConverter.

The converter only has been tested for WildTypePatterns, which only hold Type information as a String expression. 

Also, the getTypePatternExpression() in the DOM BindingTypePattern may be incorrect, as it concatenates the String representation of the Type with the binding. 

Reproducible: Always