EnumSets are a replacements for int masks. Using them is less error-prone and the code is more readable as they use Set operations instead of bitwise operations.
- relates to
-
JDK-8226850 Use an EnumSet for DirtyBits instead of an ordinal-based mask
-
- Resolved
-