On 27/02/14 16:54, Óscar Palomo Díaz wrote:
Dear Jena developers,
I'm programming an application that uses a Jena version (I just know it's
from 2008, I haven't found yet any file where the version number appears)
and it throws the following exception during runtime:
*java.lang.IllegalArgumentException: Comparison method violates its general
contract!*
I've read that this problem is due to the replacement of the "modified
mergesort" in java.util.Arrays.sort with timsort, as you can see here:
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6804124. Although I've
been trying to go through the Jena classes that originate this problem in
the Jena version I'm using, I haven't found the primary root of the problem.
While I try to update Jena to the latest version, I would like to know if
someone knows whether this compatibility issue has been fixed in the latest
Jena versions or not.
Hi Oscar,
Without knowing which comparator is being called or why, it's not
possible to say.
We (Epimorphics) run Jena in production with Java7.
You should upgrade for all sorts of reasons - SPARQL 1.1 and RDF 1.1 for
example.
Andy
Thanks in advance,
> Oscar