
Prior to this commit, the usage of EnumSet.copyOf resulted in exceptions when the underlying collection was empty. See gh-22138
Prior to this commit, the usage of EnumSet.copyOf resulted in exceptions when the underlying collection was empty. See gh-22138