RFR: 8293044: C1: Missing access check on non-accessible class
Vladimir Ivanov
vlivanov at openjdk.org
Thu Sep 8 18:06:30 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
-------------
Commit messages:
- 8293044: C1: Missing access check on non-accessible class
Changes: https://git.openjdk.org/jdk/pull/10222/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10222&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8293044
Stats: 251 lines in 8 files changed: 234 ins; 6 del; 11 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