Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-7447

EnumValidator should not manipulate input

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 31.0.0.Beta4
    • 31.0.0.Beta2
    • Management
    • None

      A ParameterValidator should never modify its input.

      Unfortunately, EnumValidator was modified per AS7-2815 to do this - and several subsystems, e.g. elytron, rely on this behavior.

      For this reason, EnumValidator should be deprecated in favor of safer alternatives.

              pferraro@redhat.com Paul Ferraro
              pferraro@redhat.com Paul Ferraro
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: