Mercurial > hg > graal-jvmci-8
diff jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCICompilerConfig.java @ 23387:a920338dd4d4
remove JVMCIError and UnsafeUtil classes (JDK-8156759)
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Wed, 11 May 2016 15:54:36 +0200 |
parents | 56479400913e |
children | b3a816d3b844 |
line wrap: on
line diff
--- a/jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCICompilerConfig.java Wed May 11 09:53:28 2016 +0200 +++ b/jvmci/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCICompilerConfig.java Wed May 11 15:54:36 2016 +0200 @@ -24,7 +24,6 @@ import jdk.vm.ci.code.CompilationRequest; import jdk.vm.ci.code.CompilationRequestResult; -import jdk.vm.ci.common.JVMCIError; import jdk.vm.ci.hotspot.HotSpotJVMCIRuntime.Option; import jdk.vm.ci.runtime.JVMCICompiler; import jdk.vm.ci.runtime.JVMCIRuntime; @@ -36,7 +35,7 @@ private static class DummyCompilerFactory extends JVMCICompilerFactory implements JVMCICompiler { public CompilationRequestResult compileMethod(CompilationRequest request) { - throw new JVMCIError("no JVMCI compiler selected"); + throw new InternalError("no JVMCI compiler selected"); } @Override @@ -72,7 +71,7 @@ } } if (factory == null) { - throw new JVMCIError("JVMCI compiler '%s' not found", compilerName); + throw new InternalError("JVMCI compiler '" + compilerName + "' not found"); } } else { factory = new DummyCompilerFactory();