Mercurial > hg > graal-jvmci-8
view make/windows/jvmexp.lcf @ 20228:f72d8917322a
8050978: Fix bad field access check in C1 and C2
Summary: JCK8 test vm/constantpool/accessControl/accessControl004/accessControl00402m3/accessControl00402m3.html fails with -Xbatch -Xcomp due to bad field access check in C1 and C2. Fix: In ciField::ciField(), just before the canonical holder is stored into the _holder variable (and which is used by ciField::will_link()) perform an additional access check with the holder declared in the class file. If this check fails, store the declared holder instead and ciField::will_link() will bail out compilation for this field later on. Then, the interpreter will throw an PrivilegedAccessException at runtime.
Reviewed-by: kvn, vlivanov
Contributed-by: andreas.schoesser@sap.com
author | goetz |
---|---|
date | Fri, 18 Jul 2014 09:04:01 +0200 |
parents | a294fd0c4b38 |
children |
line wrap: on
line source
-export:JNI_GetDefaultJavaVMInitArgs -export:JNI_CreateJavaVM -export:JNI_GetCreatedJavaVMs -export:jio_snprintf -export:jio_printf -export:jio_fprintf -export:jio_vfprintf -export:jio_vsnprintf