Mercurial > hg > graal-jvmci-8
diff src/share/vm/utilities/exceptions.cpp @ 1142:4ce7240d622c
6914300: ciEnv should export all well known classes
Reviewed-by: kvn, twisti
author | never |
---|---|
date | Wed, 06 Jan 2010 14:22:39 -0800 |
parents | fcb148c6b605 |
children | b30a2cd5e3a2 f03d0a26bf83 |
line wrap: on
line diff
--- a/src/share/vm/utilities/exceptions.cpp Tue Jan 05 11:16:09 2010 -0800 +++ b/src/share/vm/utilities/exceptions.cpp Wed Jan 06 14:22:39 2010 -0800 @@ -122,7 +122,7 @@ // Check for special boot-strapping/vm-thread handling if (special_exception(thread, file, line, h_exception)) return; - assert(h_exception->is_a(SystemDictionary::throwable_klass()), "exception is not a subclass of java/lang/Throwable"); + assert(h_exception->is_a(SystemDictionary::Throwable_klass()), "exception is not a subclass of java/lang/Throwable"); // set the pending exception thread->set_pending_exception(h_exception(), file, line); @@ -255,7 +255,7 @@ // Future: object initializer should take a cause argument if (h_cause() != NULL) { - assert(h_cause->is_a(SystemDictionary::throwable_klass()), + assert(h_cause->is_a(SystemDictionary::Throwable_klass()), "exception cause is not a subclass of java/lang/Throwable"); JavaValue result1(T_OBJECT); JavaCallArguments args1;