6736248: EnumEditor bug. Class check incorrect

Reviewed-by: rupashka, alexp
5 files changed