update JDK bug link

This commit is contained in:
Steve Rowe 2016-08-22 21:36:57 -04:00
parent 1966b22c10
commit e5cdaf8ac8
2 changed files with 4 additions and 4 deletions

View File

@ -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;

View File

@ -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 {