From e5cdaf8ac816f3e227bbc07be1802e1f1a14929b Mon Sep 17 00:00:00 2001 From: Steve Rowe Date: Mon, 22 Aug 2016 21:36:57 -0400 Subject: [PATCH] update JDK bug link --- .../postingshighlight/CustomSeparatorBreakIterator.java | 4 ++-- .../lucene/search/postingshighlight/WholeBreakIterator.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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.java index 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-8015110 text.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-8015110 text.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.java index 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-8015110 current = 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-8015110 current = start; return DONE; } else {