[ https://issues.apache.org/jira/browse/LUCENE-5514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Uwe Schindler updated LUCENE-5514: ---------------------------------- Attachment: LUCENE-5514.patch Here is the backport / revert of the following commits: {noformat} Merged revision(s) 1575519, 1575446 from lucene/dev/branches/branch_4x/solr/core/src/java/org/apache/solr/handler/component/QueryComponent.java: SOLR-5818: Prevent overflow in Hoss' fix for Java 1.6 source compatibility ........ SOLR-5818: Fix java1.6 source compatibility ........ Merged revision(s) 1531667 from lucene/dev/branches/branch_4x: LUCENE-5260: don't use java7-only API ........ Merged revision(s) 1450248 from lucene/dev/branches/branch_4x: LUCENE-4798: use java6 compatible method ........ Merged revision(s) 1509017 from lucene/dev/branches/branch_4x: SOLR-4221: Fix compile error on Java6 due to use of diamond operator ........ Merged revision(s) 1520642 from lucene/dev/branches/branch_4x: java6 ........ Merged revision(s) 1544816 from lucene/dev/branches/branch_4x: SOLR-5378: Fix compile issues on Java6 ........ Merged revision(s) 1571338 from lucene/dev/branches/branch_4x: fixing build failure. remove use of java 7 API ........ Merged revision(s) 1571338 from lucene/dev/branches/branch_4x: fixing build failure. remove use of java 7 API ........ Merged revision(s) 1575318 from lucene/dev/branches/branch_4x: avoid Integer.compare ........ Merged revision(s) 1466733 from lucene/dev/branches/branch_4x: AssertionError(String,Throwable) doesn't exist in Java 6. ........ Merged revision(s) 1538895 from lucene/dev/branches/branch_4x/lucene/misc/src/test/org/apache/lucene/index/sorter/TestBlockJoinSorter.java: Fix test: Java 6 doesn't have Long.compare. ........ Merged revision(s) 1538895 from lucene/dev/branches/branch_4x/lucene/misc/src/test/org/apache/lucene/index/sorter/TestBlockJoinSorter.java: Fix test: Java 6 doesn't have Long.compare. ........ Merged revision(s) 1457751 from lucene/dev/trunk: LUCENE-4747: Remove reflection from IOUtils for supressing caughth Exceptions ........ Merged revision(s) 1459437, 1499935 from lucene/dev/trunk: LUCENE-4848: Use Java 7 NIO2-FileChannel instead of RandomAccessFile for NIOFSDirectory and MMapDirectory ........ LUCENE-5086: RamUsageEstimator now uses official Java 7 API or a proprietary Oracle Java 6 API to get Hotspot MX bean, preventing AWT classes to be loaded on MacOSX ........ {noformat} > 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: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org