This is the mail archive of the java-discuss@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: _Jv_MonitorEnter interface confusion?


"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 ]



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]