Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
framework-2.0.3
-
None
Description
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.