#9: remove JavaConfig for compatible test