RFR: 8264696: Multi-catch clause causes compiler exception because it uses the package-private supertype [v2]
Guoxiong Li
github.com+13688759+lgxbslgx at openjdk.java.net
Thu Apr 8 05:13:38 UTC 2021
> 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()
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/3374/files
- new: https://git.openjdk.java.net/jdk/pull/3374/files/2e0dba0f..d6a8b12e
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3374&range=01
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3374&range=00-01
Stats: 11 lines in 2 files changed: 2 ins; 5 del; 4 mod
Patch: https://git.openjdk.java.net/jdk/pull/3374.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3374/head:pull/3374
PR: https://git.openjdk.java.net/jdk/pull/3374
More information about the compiler-dev
mailing list