> The Felix framework targets jsr14, which allowed it to take advantage of > generics, but still have byte code compatible with JDK 1.4. If you are > compiling against the framework JAR file in Java 7, then you need to > recompile the framework using Java 7 (i.e., get rid of target jsr14). Of > course, > you could just get an OSGi API JAR compiled for Java 5 or above, since you > likely don't need to compile against Felix framework internals...
By "OSGi API JAR", what exactly do you mean? I'm not familiar with the packaging of the OSGi world. The jar I have is org.apache.felix.framework-4.0.2.jar. I would expect that this contains both the OSGi interfaces that are the specification based API, as well as the felix implementation classes. Does the felix project also distribute a jar that has ONLY the API? > > The coming framework 4.2.0 release will target Java 5 instead of jsr14, so > this > issue should go away in the future. Any idea of the timeframe here? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

