Skip to content

Commit

Permalink
Fixing incorrect exception documentation in ClassName#isValidArrayFie…
Browse files Browse the repository at this point in the history
…ldDescriptor.
  • Loading branch information
studro committed Dec 21, 2021
1 parent 6b1523b commit 0cfd02c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,8 @@ private static boolean isValidDottedClassName(String className) {
* @param className a class name to test for validity - must be non-{@code null} and non-empty.
* @return {@code true} if {@code className} is a valid array field descriptor as
* per JVMS 4.3.2, otherwise {@code false}
* @throws IndexOutOfBoundsException if {@code className} is {@code null} or empty.
* @throws IndexOutOfBoundsException if {@code className} is empty.
* @throws NullPointerException if {@code className} is {@code null}.
*/
private static boolean isValidArrayFieldDescriptor(String className) {
String tail = className.substring(1);
Expand Down

0 comments on commit 0cfd02c

Please sign in to comment.