Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-3316

JaxbService: remove potentially ambiguous methods from API

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Resolved
    • None
    • 2.0.0-RC1
    • Core
    • None

    Description

      Object JaxbService.fromXml(JAXBContext jaxbContext, String xml)
      is potentially ambiguous. Meaning if multiple types are on the JAXBContext with more than one having a @XmlRootElement(name = "root") annotation, then the outcome (returned type) of above mentioned call is unpredictable without warning.

      Attachments

        Activity

          People

            hobrom Andi Huber
            hobrom Andi Huber
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: