RFR: 8293044: C1: Missing access check on non-accessible class [v3]

Dean Long dlong at openjdk.org
Fri Sep 9 20:36:18 UTC 2022


On Fri, 9 Sep 2022 17:46:01 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

>> 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

Looks good.

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

Marked as reviewed by dlong (Reviewer).

PR: https://git.openjdk.org/jdk/pull/10222


More information about the hotspot-compiler-dev mailing list