8299760: ExceptionInInitializerError for an enum with multiple switch statements, follow-up Reviewed-by: vromero