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