BZ1071385 - Unable to validate an Enumeration with external class from uploaded jar
(cherry picked from commit fe74495a84d029688d6aace576264133b22e5764)