RFR: 8358618: UnsupportedOperationException constructors javadoc is not clear [v3]

Nizar Benalla nbenalla at openjdk.org
Fri Aug 8 10:56:11 UTC 2025


On Thu, 7 Aug 2025 16:04:08 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Nizar Benalla has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Feedback from Alexey.
>
> src/java.base/share/classes/java/lang/UnsupportedOperationException.java line 60:
> 
>> 58:     /**
>> 59:      * Constructs a new {@code UnsupportedOperationException} with the specified detail message and
>> 60:      * cause.
> 
> Suggestion:
> 
>      * Constructs a new {@code UnsupportedOperationException} with the specified
>      * detail message and cause.
> 
> I'm for wrapping the line after the word “specified” to fit into 80 columns.

Thanks for catching this, I use 100 character wrapping so I didn't notice.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26533#discussion_r2262626169


More information about the core-libs-dev mailing list