[ 
https://issues.apache.org/jira/browse/FELIX-3035?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108343#comment-13108343
 ] 

Sahoo commented on FELIX-3035:
------------------------------

Just make it a static final variable, compiler will inline it in the 
referencing class. You then have to add the necessary "-" to "." replacement 
code in referencing class.

> Make Felix version a compile time constant
> ------------------------------------------
>
>                 Key: FELIX-3035
>                 URL: https://issues.apache.org/jira/browse/FELIX-3035
>             Project: Felix
>          Issue Type: Improvement
>          Components: Framework
>    Affects Versions: framework-3.2.2
>            Reporter: Sahoo
>            Assignee: Sahoo
>             Fix For: framework-4.0.0
>
>         Attachments: FELIX-3035-patch.txt
>
>
> Currently there is unnecessary IO done to read Felix version from a 
> properties file. It could easily be a compile time constant by doing some 
> code generation at build time.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to