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


On Fri, 9 Sep 2022 09:39:45 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

>> Vladimir Ivanov has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   update the test
>
> test/hotspot/jtreg/compiler/c1/KlassAccessCheckTest.java line 31:
> 
>> 29:  * @compile KlassAccessCheck.jasm
>> 30:  * @run main/othervm -Xbatch -XX:TieredStopAtLevel=1
>> 31:  *                   -XX:+PrintCompilation -XX:CompileCommand=dontinline,KlassAccessCheck.test*
> 
> I think the CompileCommand misses the package name. It should be `-XX:CompileCommand=dontinline,compiler.c1.KlassAccessCheck.test*`
> 
> Also, you may want to remove the `-XX:+PrintCompilation`.

Good catch, I removed both options.

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

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


More information about the hotspot-compiler-dev mailing list