Integrated: 8264696: Multi-catch clause causes compiler exception because it uses the package-private supertype

Guoxiong Li github.com+13688759+lgxbslgx at openjdk.java.net
Thu Apr 8 21:39:20 UTC 2021


On Wed, 7 Apr 2021 12:26:34 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

This pull request has now been integrated.

Changeset: 57f1e7d9
Author:    Guoxiong Li <lgxbslgx at gmail.com>
Committer: Vicente Romero <vromero at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/57f1e7d9
Stats:     115 lines in 2 files changed: 112 ins; 0 del; 3 mod

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

Reviewed-by: vromero

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

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


More information about the compiler-dev mailing list