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:
parent
f5984164b7
commit
a41cb705f6
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
1999-09-01 Matt Welsh <mdw@cs.berkeley.edu>
|
||||||
|
|
||||||
|
* java/lang/natClass.cc: Fixed notification of threads
|
||||||
|
when class initialization is complete.
|
||||||
|
|
||||||
1999-09-01 Tom Tromey <tromey@cygnus.com>
|
1999-09-01 Tom Tromey <tromey@cygnus.com>
|
||||||
|
|
||||||
* java/lang/reflect/Modifier.java (ALL_FLAGS): New constant.
|
* java/lang/reflect/Modifier.java (ALL_FLAGS): New constant.
|
||||||
|
|
|
@ -455,7 +455,7 @@ java::lang::Class::initializeClass (void)
|
||||||
// Caught an exception.
|
// Caught an exception.
|
||||||
_Jv_MonitorEnter (this);
|
_Jv_MonitorEnter (this);
|
||||||
state = JV_STATE_ERROR;
|
state = JV_STATE_ERROR;
|
||||||
notify ();
|
notifyAll ();
|
||||||
_Jv_MonitorExit (this);
|
_Jv_MonitorExit (this);
|
||||||
JvThrow (except);
|
JvThrow (except);
|
||||||
}
|
}
|
||||||
|
@ -482,7 +482,7 @@ java::lang::Class::initializeClass (void)
|
||||||
_Jv_MonitorEnter (this);
|
_Jv_MonitorEnter (this);
|
||||||
state = JV_STATE_ERROR;
|
state = JV_STATE_ERROR;
|
||||||
}
|
}
|
||||||
notify ();
|
notifyAll ();
|
||||||
_Jv_MonitorExit (this);
|
_Jv_MonitorExit (this);
|
||||||
if (except)
|
if (except)
|
||||||
JvThrow (except);
|
JvThrow (except);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue