# HG changeset patch # User Roland Schatz # Date 1439990061 -7200 # Node ID 4d973aaf97dc24319e027bbed094708991a6a14c # Parent aacbf2e9aa42eee30c5ba82ab9e46ad3bc05286b Make sure JVMCI is initialized before accessing the GraalRuntime. diff -r aacbf2e9aa42 -r 4d973aaf97dc graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotGraalRuntimeAccess.java --- a/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotGraalRuntimeAccess.java Wed Aug 19 14:06:18 2015 +0200 +++ b/graal/com.oracle.graal.hotspot/src/com/oracle/graal/hotspot/HotSpotGraalRuntimeAccess.java Wed Aug 19 15:14:21 2015 +0200 @@ -22,6 +22,7 @@ */ package com.oracle.graal.hotspot; +import jdk.internal.jvmci.runtime.*; import jdk.internal.jvmci.service.*; import com.oracle.graal.api.runtime.*; @@ -31,6 +32,7 @@ @Override public GraalRuntime getRuntime() { + JVMCI.initialize(); return HotSpotGraalRuntime.runtime(); } }