maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Scholte (JIRA)" <>
Subject [jira] (DOXIA-514) Prepare unittests for JDK8
Date Sun, 02 Feb 2014 20:44:58 GMT
Robert Scholte created DOXIA-514:

             Summary: Prepare unittests for JDK8
                 Key: DOXIA-514
             Project: Maven Doxia
          Issue Type: Task
          Components: Module - Docbook Simple, Module - FO
    Affects Versions: 1.5
            Reporter: Robert Scholte

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

View raw message