[
https://issues.apache.org/jira/browse/COLLECTIONS-510?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13960361#comment-13960361
]
Hollis Waite commented on COLLECTIONS-510:
------------------------------------------
In order to reproduce failure, you must modify POM. Set maven.compiler.source
and maven.compiler.target to '1.8'. Your modification resolves issue as well.
> ReverseComparator does not compile under Java 8
> -----------------------------------------------
>
> Key: COLLECTIONS-510
> URL: https://issues.apache.org/jira/browse/COLLECTIONS-510
> Project: Commons Collections
> Issue Type: Improvement
> Components: Comparator
> Affects Versions: 4.0
> Reporter: Hollis Waite
> Labels: patch
> Attachments: COLLECTIONS-510.patch
>
>
> My convoluted build process requires recompilation of Commons project with
> Java 8. ReverseComparator contains the project's sole incompatibility.
> Although Commons Collections doesn't *need* to compile with JDK 8, it could
> be made to do so with one rather harmless change. Could attached patch be
> merged into 4.1?
--
This message was sent by Atlassian JIRA
(v6.2#6252)