Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 364233

Summary: @DefaultValue should support Sapphire EL
Product: z_Archived Reporter: Konstantin Komissarchik <konstantin>
Component: SapphireAssignee: Konstantin Komissarchik <konstantin>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: shenxue.zhou
Version: unspecifiedKeywords: plan
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Konstantin Komissarchik CLA 2011-11-19 17:49:29 EST
@DefaultValue annotation currently is only capable of taking static text in the form of the text attribute. It should be possible to use Sapphire EL rather than be limited to static text or a custom DefaultValueService implementation. For consistency with other annotation, text attribute should be renamed expr.
Comment 1 Konstantin Komissarchik CLA 2011-11-20 22:47:51 EST
Added support for EL to @DefaultValue, but chose not to change the name of @DefaultValue.text attribute.
Comment 2 Shenxue Zhou CLA 2011-11-28 15:37:21 EST
Verified the fix with adopter product. closing.