[ https://issues.apache.org/jira/browse/JCR-3833?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15223358#comment-15223358 ]
Unico Hommes commented on JCR-3833: ----------------------------------- [~takahito.kikuchi] One possible solution is to keep a {{counter}} and increase it every time {{null}} is returned from {{LRUCache#remove()}}. Then, at the same time, skip the newly created iterator to {{counter}} before continuing. WDYT? > Compatibility with Java 8 > ------------------------- > > Key: JCR-3833 > URL: https://issues.apache.org/jira/browse/JCR-3833 > Project: Jackrabbit Content Repository > Issue Type: Task > Reporter: Unico Hommes > Assignee: Unico Hommes > Fix For: 2.9.1, 2.8.1 > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)