From 6fdc3c4375fd1821531726b6ec1cdde4decddb04 Mon Sep 17 00:00:00 2001 From: Adam Sotona Date: Mon, 9 Dec 2024 16:54:43 +0100 Subject: [PATCH] improved javadoc --- .../share/classes/java/lang/classfile/CompoundElement.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/java.base/share/classes/java/lang/classfile/CompoundElement.java b/src/java.base/share/classes/java/lang/classfile/CompoundElement.java index ec9f1dd544117..f5f00ea2805c7 100644 --- a/src/java.base/share/classes/java/lang/classfile/CompoundElement.java +++ b/src/java.base/share/classes/java/lang/classfile/CompoundElement.java @@ -95,7 +95,9 @@ public void accept(E e) { } /** - * {@return a debug printout of the compound element} + * {@return a text representation of the compound element and its contents for debugging purposes} + * + * The format, structure and exact content are not specified and may change at any time in the future. */ default String toDebugString() { StringBuilder text = new StringBuilder();