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

JAX-RS TCK: Resolve test cases where empty entities are checked

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.0
    • Fix Version/s: 3.4.1
    • Component/s: JAX-RS
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      In Open Liberty's "fork" of CXF, we made some changes to better handle cases where an entity is empty. IIRC (and we made this change a while back, so my memory is a little fuzzy), the TCK checks things where the entity stream is null and when the entity stream is non-null but empty - in both cases the "hasEntity" method should return false. I believe that the changes that we made affected multiple similar test cases to this one:
      com/sun/ts/tests/jaxrs/ee/rs/container/requestcontext/JAXRSClient.java#hasEntityWhenNoEntityTest_from_standalone:

        Attachments

          Activity

            People

            • Assignee:
              amccright Andy McCright
              Reporter:
              amccright Andy McCright
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: