Mercurial > hg > graal-compiler
changeset 18294:8e10f4877773
fixed use of reflection in HSAILHotSpotAssembler
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 06 Nov 2014 22:39:36 +0100 |
parents | ab8fbaa5e72f |
children | 17bf458cf86e |
files | graal/com.oracle.graal.hotspot.hsail/src/com/oracle/graal/hotspot/hsail/HSAILHotSpotAssembler.java |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/graal/com.oracle.graal.hotspot.hsail/src/com/oracle/graal/hotspot/hsail/HSAILHotSpotAssembler.java Thu Nov 06 20:44:09 2014 +0100 +++ b/graal/com.oracle.graal.hotspot.hsail/src/com/oracle/graal/hotspot/hsail/HSAILHotSpotAssembler.java Thu Nov 06 22:39:36 2014 +0100 @@ -48,6 +48,7 @@ try { if (objectField == null) { objectField = HotSpotObjectConstantImpl.class.getDeclaredField("object"); + objectField.setAccessible(true); } return objectField.get(src); } catch (Exception e) {