On Tue, 29 Jul 2025 14:44:51 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
>> Nizar Benalla has updated the pull request incrementally with one additional >> commit since the last revision: >> >> review comments about consistency > > src/java.base/share/classes/java/lang/UnsupportedOperationException.java line > 49: > >> 47: /** >> 48: * Constructs a new {@code UnsupportedOperationException} with the >> specified >> 49: * detail message. > > I think it makes sense to expand the description of this constructor with > `“The cause is not initialized, and may subsequently be initialized by a call > to {@link #initCause(Throwable)}.”` as per no-arg constructor. Thanks for the suggestion! ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/26533#discussion_r2240131490