--- old/src/jdk.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCICompilerConfig.java 2016-05-12 09:40:41.000000000 +0200 +++ new/src/jdk.vm.ci/share/classes/jdk.vm.ci.hotspot/src/jdk/vm/ci/hotspot/HotSpotJVMCICompilerConfig.java 2016-05-12 09:40:40.000000000 +0200 @@ -26,7 +26,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; @@ -38,7 +37,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 @@ -76,7 +75,7 @@ } } if (factory == null) { - throw new JVMCIError("JVMCI compiler '%s' not found", compilerName); + throw new InternalError(String.format("JVMCI compiler '%s' not found", compilerName)); } } else { factory = new DummyCompilerFactory();