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

Adam Sotona asotona at openjdk.org
Mon Jun 5 16:08:13 UTC 2023


On Mon, 5 Jun 2023 15:03:01 GMT, Brian Goetz <briangoetz at openjdk.org> wrote:

>> Adam Sotona has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
>> 
>>  - Merge branch 'master' into JDK-8308842-exceptions
>>  - fixed javadoc
>>  - 8308842: Consolidate exceptions thrown from Class-File API
>
> src/java.base/share/classes/jdk/internal/classfile/constantpool/ConstantPoolException.java line 42:
> 
>> 40:         super();
>> 41:     }
>> 42: 
> 
> Exception classes in the JDK generally have four constructors: (), (Throwable), (String), and (String, Throwable).

I'll add missing constructors, thanks.

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

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


More information about the core-libs-dev mailing list