Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2246

Dynamic features should be resolved once for each resource method

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.1.0.Final
    • 4.0.0.Final, 3.7.0.Final
    • None

      I am writing some tests for DynamicFeature.

      There is this sentence in JAX-RS 2.1 specification:

      'JAX-RS implementations SHOULD resolve dynamic features for filters and interceptors once for each resource method.'

      However, I think it's happening twice:

      https://github.com/tterem/Resteasy/commit/944dc5037e5584d654d9a30eeb1c476555ce04fd

      I believe I should see this log message only once:
      https://github.com/tterem/Resteasy/commit/944dc5037e5584d654d9a30eeb1c476555ce04fd#diff-8368d6a2a2563585ad2aaa810a20d1c5R19

      but I see it twice.

      cc mkopecky@redhat.com

              rsearls r searls
              tterem@redhat.com Tomas Terem (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: