RFR: 8308842: Consolidate exceptions thrown from Class-File API [v2]

Adam Sotona asotona at openjdk.org
Fri May 26 09:23:56 UTC 2023


On Thu, 25 May 2023 22:45:01 GMT, ExE Boss <duke at openjdk.org> wrote:

>> Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   fixed javadoc
>
> src/java.base/share/classes/jdk/internal/classfile/CodeBuilder.java line 389:
> 
>> 387:         // Check for empty try block
>> 388:         if (tryBlock.isEmpty()) {
>> 389:             throw new IllegalArgumentException("The body of the try block is empty");
> 
> This exception should be documented in the method’s **Javadoc**.

Fixed, thanks.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14143#discussion_r1206483576


More information about the core-libs-dev mailing list