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