You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/01/03 08:39:00 UTC

[jira] [Commented] (ISIS-3316) JaxbService: remove potentially ambiguous methods from API

    [ https://issues.apache.org/jira/browse/ISIS-3316?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17653869#comment-17653869 ] 

ASF subversion and git services commented on ISIS-3316:
-------------------------------------------------------

Commit a494a9cc35b2f2abeb16f55458ec30cb0ef953fb in isis's branch refs/heads/ISIS-3255 from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=a494a9cc35 ]

ISIS-3316: JaxbUtils: adds JUnit test to verify type-safe xml
unmarshalling

> 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)