Bug#770317: json-simple: FTBFS with Java 8: Test failure

Emmanuel Bourg ebourg at apache.org
Thu Nov 20 12:36:26 UTC 2014


Source: json-simple
Version: 1.1.1-2
Severity: important
User: debian-java at lists.debian.org
Usertags: openjdk-8-transition

json-simple fails to build with Java 8 due to a test failure:

Failed tests:   testEncode(org.json.simple.Test):
expected:<{"[array1":["abc\u0010a\/",123,222.123,true],"weight":60.21,"age":27,"name":"fang"],"is_developer":true...>
but
was:<{"[name":"fang","weight":60.21,"array1":["abc\u0010a\/",123,222.123,true],"age":27],"is_developer":true...>


A fix is available upstream but hasn't been released yet:

https://code.google.com/p/json-simple/source/detail?r=220



More information about the pkg-java-maintainers mailing list