The Pojo test class from the codec package will end up in spring-core. This commit ensures it is used only from classes that also belong to spring-core.