src/share/vm/utilities/exceptions.cpp

changeset 1577
4ce7240d622c
parent 1446
fcb148c6b605
child 1845
f03d0a26bf83
     1.1 --- a/src/share/vm/utilities/exceptions.cpp	Tue Jan 05 11:16:09 2010 -0800
     1.2 +++ b/src/share/vm/utilities/exceptions.cpp	Wed Jan 06 14:22:39 2010 -0800
     1.3 @@ -122,7 +122,7 @@
     1.4    // Check for special boot-strapping/vm-thread handling
     1.5    if (special_exception(thread, file, line, h_exception)) return;
     1.6  
     1.7 -  assert(h_exception->is_a(SystemDictionary::throwable_klass()), "exception is not a subclass of java/lang/Throwable");
     1.8 +  assert(h_exception->is_a(SystemDictionary::Throwable_klass()), "exception is not a subclass of java/lang/Throwable");
     1.9  
    1.10    // set the pending exception
    1.11    thread->set_pending_exception(h_exception(), file, line);
    1.12 @@ -255,7 +255,7 @@
    1.13  
    1.14      // Future: object initializer should take a cause argument
    1.15      if (h_cause() != NULL) {
    1.16 -      assert(h_cause->is_a(SystemDictionary::throwable_klass()),
    1.17 +      assert(h_cause->is_a(SystemDictionary::Throwable_klass()),
    1.18            "exception cause is not a subclass of java/lang/Throwable");
    1.19        JavaValue result1(T_OBJECT);
    1.20        JavaCallArguments args1;

mercurial