Indeed!

Thank you all for your reviews,

/peter


David Holmes
Wednesday, April 24, 2013 12:16 PM

+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




Peter Allwin
Wednesday, April 24, 2013 11:31 AM

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