javac don't pick the right Entry class since more than one are visible in that context