Why did you need to change the visibility of this class?  If it was for the unit tests, then you should be able to restore the package visibility when you remove the OSGi dependencies from the unit tests and move the layer cache unit tests to jaggr-core