+1 from me but I'm surprised this code doesn't always report an error - must be pure chance that the uninitialized value == KERN_SUCCESS

David

On 24/04/2013 7:31 PM, Peter Allwin wrote:
Hi all, I'm looking for reviews of this change:

Parfait has identified an incorrect return code comparison in
UnixOperatingSystemMXBean getOpenFileDescriptorCount on OSX. Very simple
fix is to check against the correct variable.

CR: http://cr.openjdk.java.net/~sla/peter/8009985/webrev.00/
JBS: https://jbs.oracle.com/bugs/browse/JDK-8009985


Thanks!

/peter

Reply via email to