natClass.cc: Fixed notification of threads when class initialization is complete.
* java/lang/natClass.cc: Fixed notification of threads when class initialization is complete. From-SVN: r29043
This commit is contained in:
@@ -455,7 +455,7 @@ java::lang::Class::initializeClass (void)
|
||||
// Caught an exception.
|
||||
_Jv_MonitorEnter (this);
|
||||
state = JV_STATE_ERROR;
|
||||
notify ();
|
||||
notifyAll ();
|
||||
_Jv_MonitorExit (this);
|
||||
JvThrow (except);
|
||||
}
|
||||
@@ -482,7 +482,7 @@ java::lang::Class::initializeClass (void)
|
||||
_Jv_MonitorEnter (this);
|
||||
state = JV_STATE_ERROR;
|
||||
}
|
||||
notify ();
|
||||
notifyAll ();
|
||||
_Jv_MonitorExit (this);
|
||||
if (except)
|
||||
JvThrow (except);
|
||||
|
||||
Reference in New Issue
Block a user