Mercurial > hg > graal-compiler
comparison graal/com.oracle.nfi/src/com/oracle/nfi/NativeFunctionInterfaceRuntime.java @ 22790:615f3bbbb174
Update jvmci and truffle import: Rename jdk.internal.jvmci to jdk.vm.ci
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Thu, 08 Oct 2015 17:41:33 -0700 |
parents | 05183a084a08 |
children | 56359eb3abfa |
comparison
equal
deleted
inserted
replaced
22789:a9e0431279e5 | 22790:615f3bbbb174 |
---|---|
47 NativeFunctionInterface instance = null; | 47 NativeFunctionInterface instance = null; |
48 | 48 |
49 NativeFunctionInterfaceAccess access = null; | 49 NativeFunctionInterfaceAccess access = null; |
50 Class<?> servicesClass = null; | 50 Class<?> servicesClass = null; |
51 try { | 51 try { |
52 servicesClass = Class.forName("jdk.internal.jvmci.service.Services"); | 52 servicesClass = Class.forName("jdk.vm.ci.service.Services"); |
53 } catch (ClassNotFoundException e) { | 53 } catch (ClassNotFoundException e) { |
54 try { | 54 try { |
55 // Legacy support | 55 // Legacy support |
56 servicesClass = Class.forName("com.oracle.jvmci.service.Services"); | 56 servicesClass = Class.forName("com.oracle.jvmci.service.Services"); |
57 } catch (ClassNotFoundException e2) { | 57 } catch (ClassNotFoundException e2) { |