[
https://issues.apache.org/jira/browse/FELIX-2041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard S. Hall closed FELIX-2041.
----------------------------------
Resolution: Fixed
Framework code use generics, but targets jsr14 so the resulting byte code runs
on old JVMs. Looks good enough to close this issue.
> Look into using generics in framework code
> ------------------------------------------
>
> Key: FELIX-2041
> URL: https://issues.apache.org/jira/browse/FELIX-2041
> Project: Felix
> Issue Type: Improvement
> Components: Framework
> Affects Versions: framework-2.0.3
> Reporter: Richard S. Hall
> Assignee: Richard S. Hall
> Fix For: framework-3.0.0
>
>
> Currently, the framework doesn't use generics and often adopts simple data
> structures based on arrays. At the time, this was done to keep things simple
> and avoid unnecessary class creation. Perhaps it is time to move beyond this
> thinking and more liberally use collection classes with generic. The OSGi
> Alliance is looking into support generics via "-target jsr14", so maybe this
> approach could be leveraged internally by the framework for now until the
> entire spec moves to Java 5.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.