Mercurial > hg > graal-compiler
annotate make/linux/platform_ppc @ 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 | d2907f74462e |
children | 4ca6dc0799b6 |
rev | line source |
---|---|
2192
b92c45f2bc75
7016023: Enable building ARM and PPC from src/closed repository
bobv
parents:
diff
changeset
|
1 os_family = linux |
b92c45f2bc75
7016023: Enable building ARM and PPC from src/closed repository
bobv
parents:
diff
changeset
|
2 |
b92c45f2bc75
7016023: Enable building ARM and PPC from src/closed repository
bobv
parents:
diff
changeset
|
3 arch = ppc |
b92c45f2bc75
7016023: Enable building ARM and PPC from src/closed repository
bobv
parents:
diff
changeset
|
4 |
14391 | 5 arch_model = ppc_32 |
2192
b92c45f2bc75
7016023: Enable building ARM and PPC from src/closed repository
bobv
parents:
diff
changeset
|
6 |
b92c45f2bc75
7016023: Enable building ARM and PPC from src/closed repository
bobv
parents:
diff
changeset
|
7 os_arch = linux_ppc |
b92c45f2bc75
7016023: Enable building ARM and PPC from src/closed repository
bobv
parents:
diff
changeset
|
8 |
14391 | 9 os_arch_model = linux_ppc_32 |
2192
b92c45f2bc75
7016023: Enable building ARM and PPC from src/closed repository
bobv
parents:
diff
changeset
|
10 |
b92c45f2bc75
7016023: Enable building ARM and PPC from src/closed repository
bobv
parents:
diff
changeset
|
11 lib_arch = ppc |
b92c45f2bc75
7016023: Enable building ARM and PPC from src/closed repository
bobv
parents:
diff
changeset
|
12 |
b92c45f2bc75
7016023: Enable building ARM and PPC from src/closed repository
bobv
parents:
diff
changeset
|
13 compiler = gcc |
b92c45f2bc75
7016023: Enable building ARM and PPC from src/closed repository
bobv
parents:
diff
changeset
|
14 |
b92c45f2bc75
7016023: Enable building ARM and PPC from src/closed repository
bobv
parents:
diff
changeset
|
15 gnu_dis_arch = ppc |
b92c45f2bc75
7016023: Enable building ARM and PPC from src/closed repository
bobv
parents:
diff
changeset
|
16 |
14390 | 17 sysdefs = -DLINUX -D_GNU_SOURCE -DPPC32 |