Mercurial > hg > graal-jvmci-8
diff src/share/vm/graal/graalRuntime.cpp @ 17319:57b6965524a2
graal init: fail if Factory class cannot be resolved
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Thu, 02 Oct 2014 06:35:56 -0700 |
parents | b8f54c5ec73a |
children | f55f2d400797 |
line wrap: on
line diff
--- a/src/share/vm/graal/graalRuntime.cpp Thu Oct 02 06:33:16 2014 -0700 +++ b/src/share/vm/graal/graalRuntime.cpp Thu Oct 02 06:35:56 2014 -0700 @@ -1015,7 +1015,7 @@ oop GraalRuntime::compute_graal_class_loader(TRAPS) { assert(UseGraalClassLoader, "must be"); TempNewSymbol name = SymbolTable::new_symbol("com/oracle/graal/hotspot/loader/Factory", CHECK_NULL); - KlassHandle klass = SystemDictionary::resolve_or_null(name, CHECK_NULL); + KlassHandle klass = SystemDictionary::resolve_or_fail(name, true, CHECK_NULL); TempNewSymbol getClassLoader = SymbolTable::new_symbol("newClassLoader", CHECK_NULL); JavaValue result(T_OBJECT);