-
Bug
-
Resolution: Duplicate
-
P2
-
9
Order of enum values according to the spec:
ALLOWED, REJECTED, UNDECIDED
Order of enum values that returned by values():
UNDECIDED, ALLOWED, REJECTED
Seems this is a specification problem for all enums, because their values are in alphabetic order in the API spec.
JCK checks the order of enums according to the following assertion of method values():
"Returns an array containing the constants of this enum type, in the order they are declared."
The declared order should be reflected in API spec.
ALLOWED, REJECTED, UNDECIDED
Order of enum values that returned by values():
UNDECIDED, ALLOWED, REJECTED
Seems this is a specification problem for all enums, because their values are in alphabetic order in the API spec.
JCK checks the order of enums according to the following assertion of method values():
"Returns an array containing the constants of this enum type, in the order they are declared."
The declared order should be reflected in API spec.
- duplicates
-
JDK-8167967 javadoc should identify the ordinal value of enum constants
- Closed
- is blocked by
-
JDK-8167967 javadoc should identify the ordinal value of enum constants
- Closed
- relates to
-
JDK-8154961 JEP 290: Filter Incoming Serialization Data
- Closed