Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-3241

JAXRSOutInterceptor should attempt to downcast CGLIB-enchanced types of response objects

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.1
    • 2.3.2, 2.4
    • JAX-RS
    • None

    Description

      If a response object is CGLIB enhanced then JAXRSOutInterceptor should attempt to downcast the type of this object to a more concrete class.
      Otherwise providers such as the ones dealing with JAXB can not marshall the objects properly (cglib proxies do not retain annotations such as XMLRootElement, etc)

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            sergey_beryozkin Sergey Beryozkin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: