j.i.ObjectInputFilter.Status enum values order

XMLWordPrintable

      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.

            Assignee:
            Roger Riggs
            Reporter:
            Elena Votchennikova (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: