Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2814

Validate that interceptor classes do not declare multiple methods for same interception type

XMLWordPrintable

      Based on https://github.com/weld/core/discussions/3152

      This is not allowed by interceptors spec as per https://jakarta.ee/specifications/interceptors/2.2/jakarta-interceptors-spec-2.2#definition_of_interceptor_classes_and_interceptor_methods
      We just lack any kind of validation (and so does TCK).

      As a side note - while it works now, it is basically incidental and with no guarantees in terms of ordering.
      Supporting this would require enforcing ordering of those methods.

              manovotn Matěj Novotný
              manovotn Matěj Novotný
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: