Why is there a seemingly identical copy of the JDK 1.5 core runtime in org.osgi.foundation-1.0.0.jar?
- by Jonathan Neufeld
I am maintaining a web application that depends on OSGi and Maven pulls-in a jar called org.osgi-foundation-1.0.0.jar that seems to contain the same classes as part of the JDK core runtime such as:
java.util.*;
java.io.*;
etc. and so on.
This seems very strange and I have to ask why this is necessary. More-over, my web-application fails to deploy on JBoss 6 because these are "illegal package names" for a third-party library.
What is the purpose of org.osgi-foundation-1.0.0.jar ? is it necessary?