Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 364233 - @DefaultValue should support Sapphire EL
Summary: @DefaultValue should support Sapphire EL
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Sapphire (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Konstantin Komissarchik CLA
QA Contact:
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2011-11-19 17:49 EST by Konstantin Komissarchik CLA
Modified: 2021-11-19 09:21 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.