From 3248daee85268a6a20903f95292d03e869064c96 Mon Sep 17 00:00:00 2001 From: Joe Darcy Date: Tue, 27 Jun 2023 19:56:34 +0000 Subject: [PATCH] 8310830: typo in the parameter name in @throws of ClassDesc::ofDescriptor Reviewed-by: mchung Backport-of: 4bce38c6d7792596879a6e1081140b698b899471 --- src/java.base/share/classes/java/lang/constant/ClassDesc.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java.base/share/classes/java/lang/constant/ClassDesc.java b/src/java.base/share/classes/java/lang/constant/ClassDesc.java index 06601c475b3..60adc7f1ab1 100644 --- a/src/java.base/share/classes/java/lang/constant/ClassDesc.java +++ b/src/java.base/share/classes/java/lang/constant/ClassDesc.java @@ -150,7 +150,7 @@ static ClassDesc of(String packageName, String className) { * @param descriptor a field descriptor string * @return a {@linkplain ClassDesc} describing the desired class * @throws NullPointerException if the argument is {@code null} - * @throws IllegalArgumentException if the name string is not in the + * @throws IllegalArgumentException if the descriptor string is not in the * correct format * @jvms 4.3.2 Field Descriptors * @jvms 4.4.1 The CONSTANT_Class_info Structure