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

ContextResolvers are always considered builtin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 3.1.0.CR1, 3.0.20.Final
    • 3.0.19.Final
    • jaxrs
    • None

      Resteasy considers all javax.ws.rs.ext.ContextResolver classes are builtin. ResteasyProviderFactory hardcodes true for the builtin parameter and does not propagate the isBuiltin input parameter.

      Because of this, it is impossible to override default context resolvers by user-defined ones.

      https://github.com/resteasy/Resteasy/blob/cfeb425cc6339ba575bf32e239c72998d671c4f9/resteasy-jaxrs/src/main/java/org/jboss/resteasy/spi/ResteasyProviderFactory.java#L1337

            rsigal@redhat.com Ronald Sigal
            willem.salembier@gmail.com Willem Salembier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: