The Javadoc for this method includes:
Throws: SecurityException - if an attempt is made to add this class to a package that contains classes that were signed by a different set of certificates than this class, or if the class name begins with "java.".
I am getting this exception in my code (the exception does not have anything telling why), and this documentation makes me confused.
EDIT: None of the jars I use are signed.
Can anyone explain this to me, with an example if possible?