Re: [equinox-dev] Class loader, class space, protection domai, package private things and fragments

2014-07-22 Thread Gunnar Wagenknecht
Hi Tom! On 2014-07-18 19:09:02 +, Thomas Watson said: Are your troubles when you run the fragment in the Equinox/OSGi environment or is it when using Mockito/CGLIB outside of an OSGi environment?  If it is the later then are you running into issues with signing?  Or perhaps you could

Re: [equinox-dev] Class loader, class space, protection domai, package private things and fragments

2014-07-22 Thread Neil Bartlett
This is probably because package-private accessibility in the JVM is based on the concept of “runtime packages”. A runtime package is a package loaded by a particular classloader. If some classes have the same package name but are loaded by a different classloader then they are NOT part of the