Why is there a seemingly identical copy of the JDK 1.5 core runtime in org.osgi.foundation-1.0.0.jar?

Posted by Jonathan Neufeld on Stack Overflow See other posts from Stack Overflow or by Jonathan Neufeld
Published on 2012-12-10T23:01:00Z Indexed on 2012/12/10 23:03 UTC
Read the original article Hit count: 303

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?

© Stack Overflow or respective owner

Related posts about web-applications

Related posts about jboss