[
https://issues.apache.org/jira/browse/OAK-9467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17372822#comment-17372822
]
Miroslav Smiljanic commented on OAK-9467:
-----------------------------------------
I have created [PR|https://github.com/apache/jackrabbit-oak/pull/309/files]
with proposed change and path is attached.
[^OAK-9467.patch]
cc. [~adulceanu] [[email protected]]
> PersistentDiskCacheTest failures on JDK11
> -----------------------------------------
>
> Key: OAK-9467
> URL: https://issues.apache.org/jira/browse/OAK-9467
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: segment-azure, segment-tar
> Reporter: Andrei Dulceanu
> Assignee: Andrei Dulceanu
> Priority: Major
> Attachments: OAK-9467.patch
>
>
> When building Oak with JDK 11 the following error is reported for
> {{PersistentDiskCacheTest}}:
> {noformat}
> [INFO] Running
> org.apache.jackrabbit.oak.segment.remote.persistentcache.PersistentDiskCacheTest
> [ERROR] Tests run: 6, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 4.782
> s <<< FAILURE! - in
> org.apache.jackrabbit.oak.segment.remote.persistentcache.PersistentDiskCacheTest
> [ERROR]
> cleanupTest(org.apache.jackrabbit.oak.segment.remote.persistentcache.PersistentDiskCacheTest)
> Time elapsed: 1.464 s <<< ERROR!
> java.lang.IllegalArgumentException: Comparison method violates its general
> contract!
> at
> org.apache.jackrabbit.oak.segment.remote.persistentcache.PersistentDiskCacheTest.cleanupTest(PersistentDiskCacheTest.java:92)
> {noformat}
> /cc [~angela]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)