From ba9d4ad45a82e40b1bb5d69d875565b9dc1cb878 Mon Sep 17 00:00:00 2001 From: Vicente Romero Date: Tue, 17 Dec 2019 14:11:26 -0500 Subject: [PATCH] 8234971: Incorrect example in j.l.reflect.RecordComponent::toString Reviewed-by: jjg --- .../share/classes/java/lang/reflect/RecordComponent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java.base/share/classes/java/lang/reflect/RecordComponent.java b/src/java.base/share/classes/java/lang/reflect/RecordComponent.java index 9a6d2f6adb9..c9b518f9f3c 100644 --- a/src/java.base/share/classes/java/lang/reflect/RecordComponent.java +++ b/src/java.base/share/classes/java/lang/reflect/RecordComponent.java @@ -233,7 +233,7 @@ public final class RecordComponent implements AnnotatedElement { * of the record component. * For example: *
-     *    String name
+     *    java.lang.String name
      *    int age
      * 
*