[Simple-support] Tests failing with JDK8
Brought to you by:
niallg
|
From: Shevek <sh...@an...> - 2015-06-23 23:48:33
|
Two of the XPath tests are failing with both Azul Zulu 8 and Ubuntu's JDK8.
RegistryStrategyTest. testConverter
ConversionTest. testConverter
Similar reasons in each:
junit.framework.AssertionFailedError: Document does not match expression
'/petShop/pets/pet[1]' with attribute name='Lassie' for <a:petShop
xmlns:a="http://domain/a">
<b:pets xmlns:b="http://domain/b">
<pet class="org.simpleframework.xml.convert.ExampleConverters$Cat">
<name>Kitty</name>
<age>2</age>
</pet>
<pet
class="org.simpleframework.xml.convert.ExampleConverters$Dog"
name="Lassie" age="10"/>
</b:pets>
</a:petShop>
I note that with JDK7, Lassie is first and Kitty is second. In JDK8,
Kitty is first and Lassie is second. I haven't looked more deeply than that.
S.
|