[
https://issues.apache.org/jira/browse/LUCENE-5514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13925354#comment-13925354
]
Uwe Schindler commented on LUCENE-5514:
---------------------------------------
I think this is fine as a first step. It does not contain all the changes
needed to have identical Java 7 code in trunk and 4.x. The problem are merged
stuff that was fixed to be Java 6 compliant while merging. This is hard to
detect. Some of those were already fixed (like compare methods implemented with
Long.signum), but others like multi-catch not. I don't think we should put too
much effort in fixing this. It is important that the optimized methods for Java
7 are used in the comparators (intrinsics) and also the new FileChannel APIs
are used.
> Backport Java 7 changes from trunk to Lucene 4.8
> ------------------------------------------------
>
> Key: LUCENE-5514
> URL: https://issues.apache.org/jira/browse/LUCENE-5514
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Uwe Schindler
> Assignee: Uwe Schindler
> Fix For: 4.8
>
> Attachments: LUCENE-5514.patch
>
>
> This issue tracks the backporting of various issues that are related to Java
> 7 to 4.8.
> It will also revert "build fixes" that worked around compile failures
> (especially stuff like {{Long/Integer.compare()}}.
> I will attach a patch soon (for review).
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]