RFR: 8264696: Multi-catch clause causes compiler exception because it uses the package-private supertype [v2]

Vicente Romero vromero at openjdk.java.net
Thu Apr 8 11:32:23 UTC 2021


On Thu, 8 Apr 2021 05:13:38 GMT, Guoxiong Li <github.com+13688759+lgxbslgx at openjdk.org> wrote:

>> Hi all,
>> 
>> The method `isAccessible(Env<AttrContext> env, Type t, boolean checkInner)` should take `UnionClassType` as a special type to do some corresponding work. If not, the problem will occur. This patch fixes it and adds a test case.
>> 
>> Thank you for taking the time to review.
>> 
>> Best Regards.
>> -- Guoxiong
>
> Guoxiong Li has updated the pull request incrementally with two additional commits since the last revision:
> 
>  - Use stream api
>  - Remove writeAll()

looks good, thanks for the fix

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

Marked as reviewed by vromero (Reviewer).

PR: https://git.openjdk.java.net/jdk/pull/3374


More information about the compiler-dev mailing list