On Mon, 9 Dec 2024 16:01:21 GMT, Adam Sotona <asot...@openjdk.org> wrote:

>> Class-File API lost debug printing capability with removal of the 
>> `j.l.classfile.components.ClassPrinter` in JDK-8345343.
>> This PR adds `j.l.classfile.CompoundElement::toDebugString` method to 
>> restore the capability.
>> 
>> Please review.
>> 
>> Thank you,
>> Adam
>
> Adam Sotona has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   improved javadoc

src/java.base/share/classes/java/lang/classfile/CompoundElement.java line 100:

> 98:      * {@return a text representation of the compound element and its 
> contents for debugging purposes}
> 99:      *
> 100:      * The format, structure and exact content are not specified and may 
> change at any time in the future.

Suggestion:

     * The format, structure and exact contents of the returned string are not 
specified and may change at any time in the future.

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/22634#discussion_r1876412819

Reply via email to