8048264: StringBuffer's codePoint methods throw unspecified IndexOutOfBoundsException
Summary: Add missing @throws tags
Reviewed-by: dholmes, lancea
--- a/jdk/src/java.base/share/classes/java/lang/StringBuffer.java Fri Apr 17 11:51:47 2015 -0700
+++ b/jdk/src/java.base/share/classes/java/lang/StringBuffer.java Fri Apr 17 12:49:51 2015 -0700
@@ -206,6 +206,7 @@
}
/**
+ * @throws IndexOutOfBoundsException {@inheritDoc}
* @since 1.5
*/
@Override
@@ -214,6 +215,7 @@
}
/**
+ * @throws IndexOutOfBoundsException {@inheritDoc}
* @since 1.5
*/
@Override
@@ -222,6 +224,7 @@
}
/**
+ * @throws IndexOutOfBoundsException {@inheritDoc}
* @since 1.5
*/
@Override
@@ -230,6 +233,7 @@
}
/**
+ * @throws IndexOutOfBoundsException {@inheritDoc}
* @since 1.5
*/
@Override