cglib/cglib — pull request #15 by guw (2014-07-17 14:05:18+00:00)
Title: Allow to specify a protection domain when defining classes

At runtime, the CGLIB bundle may be signed by a different authority than
the class to be generated. A typical scenario is with Mockito and OSGi
when generating classes at test runtime for mocking an interface (or a
class). The generated class must use the same protection domain as the
interface it implements, which may be different than CGLIB's.