[
https://issues.apache.org/jira/browse/ISIS-3316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17650901#comment-17650901
]
ASF subversion and git services commented on ISIS-3316:
-------------------------------------------------------
Commit 8ead825d7841a81b72f904be89b8df48a656400f in isis's branch
refs/heads/spring6 from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=8ead825d78 ]
ISIS-3316: JaxbService: remove potentially ambiguous methods from API
- consolidate jaxb low level stuff into JaxbUtils
- if unmarshalled type does not match requested one, fallback to
type-safe method
> JaxbService: remove potentially ambiguous methods from API
> ----------------------------------------------------------
>
> Key: ISIS-3316
> URL: https://issues.apache.org/jira/browse/ISIS-3316
> Project: Isis
> Issue Type: Improvement
> Components: Isis Core
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0-RC1
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)