You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Robert Scholte (JIRA)" <ji...@codehaus.org> on 2014/02/02 21:44:58 UTC
[jira] (DOXIA-514) Prepare unittests for JDK8
Robert Scholte created DOXIA-514:
------------------------------------
Summary: 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
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)