_Jv_MonitorEnter interface confusion?

Bryce McKinlay bryce@albatross.co.nz
Fri Dec 8 15:54:00 GMT 2000


"Boehm, Hans" wrote:

> I don't think any of the callers actually test the result returned by
> _Jv_MonitorEnter and _Jv_MonitorExit.
>
> This seems wrong.  Should _Jv_MonitorEnter and _Jv_MonitorExit return void
> and throw if necessary?

I think you're right. The compiler also seems to treat them to be void
functions.

regards

  [ bryce ]




More information about the Java mailing list