RFR: 8293044: C1: Missing access check on non-accessible class [v3]
Vladimir Ivanov
vlivanov at openjdk.org
Fri Sep 9 17:46:01 UTC 2022
> C1 erroneously omits some access checks on symbolically referenced classes.
>
> Proposed fix relies on code patching to throw proper resolution error when required.
>
> Also, to avoid repeated recompilations on platforms which don't support code
> patching, the nmethod is not marked as non-entrant when corresponding constant
> pool entry is in error state.
>
> Testing: hs-tier1 - hs-tier4
Vladimir Ivanov has updated the pull request incrementally with one additional commit since the last revision:
update the test
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/10222/files
- new: https://git.openjdk.org/jdk/pull/10222/files/8a3286f7..ad69916a
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=10222&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=10222&range=01-02
Stats: 3 lines in 1 file changed: 0 ins; 2 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/10222.diff
Fetch: git fetch https://git.openjdk.org/jdk pull/10222/head:pull/10222
PR: https://git.openjdk.org/jdk/pull/10222
More information about the hotspot-compiler-dev
mailing list