maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <j...@codehaus.org>
Subject [jira] (DOXIA-514) Prepare unittests for JDK8
Date Sun, 02 Feb 2014 20:56:57 GMT

     [ https://jira.codehaus.org/browse/DOXIA-514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Scholte closed DOXIA-514.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6
         Assignee: Robert Scholte

Fixed in [r1563713|http://svn.apache.org/r1563713]

> Prepare unittests for JDK8
> --------------------------
>
>                 Key: DOXIA-514
>                 URL: https://jira.codehaus.org/browse/DOXIA-514
>             Project: Maven Doxia
>          Issue Type: Task
>          Components: Module - Docbook Simple, Module - FO
>    Affects Versions: 1.5
>            Reporter: Robert Scholte
>            Assignee: Robert Scholte
>             Fix For: 1.6
>
>
> When running tests with JDK8, a few of them fail, in all cases related to XML attribute
order.
> Reason is that both Docbook Simple and FO make use of {{javax.swing.text.SimpleAttributeSet}}.
JDK7 uses a {{Hashtable}} for the attributes, whereas JDK8 uses a {{LinkedHashMap}}.
> In order to fix this for all versions, the expected and actual values shouldn't be compared
as Strings but as XML.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message