Apache Lucene open-source search software
update JDK bug link
Steve Rowee5cdaf8ac816
diff --git a/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/CustomSeparatorBreakIterator.java b/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/CustomSeparatorBreakIterator.javaindex 651901743b6..9a4c461e6c2 100644--- a/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/CustomSeparatorBreakIterator.java+++ b/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/CustomSeparatorBreakIterator.java@@ -75,7 +75,7 @@ public final class CustomSeparatorBreakIterator extends BreakIterator {throw new IllegalArgumentException("offset out of bounds");} else if (pos == text.getEndIndex()) {// this conflicts with the javadocs, but matches actual behavior (Oracle has a bug in something)- // http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=9000909+ // https://bugs.openjdk.java.net/browse/JDK-8015110text.setIndex(text.getEndIndex());current = text.getIndex();return DONE;@@ -112,7 +112,7 @@ public final class CustomSeparatorBreakIterator extends BreakIterator {throw new IllegalArgumentException("offset out of bounds");} else if (pos == text.getBeginIndex()) {// this conflicts with the javadocs, but matches actual behavior (Oracle has a bug in something)- // http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=9000909+ // https://bugs.openjdk.java.net/browse/JDK-8015110text.setIndex(text.getBeginIndex());current = text.getIndex();return DONE;diff --git a/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/WholeBreakIterator.java b/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/WholeBreakIterator.javaindex 851dcf35ecf..7f5ba6a03cf 100644--- a/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/WholeBreakIterator.java+++ b/lucene/highlighter/src/java/org/apache/lucene/search/postingshighlight/WholeBreakIterator.java@@ -42,7 +42,7 @@ public final class WholeBreakIterator extends BreakIterator {throw new IllegalArgumentException("offset out of bounds");} else if (pos == end) {// this conflicts with the javadocs, but matches actual behavior (Oracle has a bug in something)- // http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=9000909+ // https://bugs.openjdk.java.net/browse/JDK-8015110current = end;return DONE;} else {@@ -89,7 +89,7 @@ public final class WholeBreakIterator extends BreakIterator {throw new IllegalArgumentException("offset out of bounds");} else if (pos == start) {// this conflicts with the javadocs, but matches actual behavior (Oracle has a bug in something)- // http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=9000909+ // https://bugs.openjdk.java.net/browse/JDK-8015110current = start;return DONE;} else {