Review request: JDK-8021245 (process) file leak in jdk/src/windows/native/java/lang/ProcessImpl_md.c

Alexey Utkin alexey.utkin at oracle.com
Fri Jul 26 15:33:35 UTC 2013


Bug description:
     https://jbs.oracle.com/bugs/browse/JDK-8021245
     http://bugs.sun.com/view_bug.do?bug_id=8021245

Here is the suggested fix:
http://cr.openjdk.java.net/~uta/openjdk-webrevs/JDK-8021245/webrev.00/

Summary:
In accordance with MS spec [-1] is THE ONLY error signal from the 
[_open] function call.
http://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx
Any negative, except [-1], and zero are the valid handles that need to 
be closed.

The fix was tested in the debugger my manual switching to Win9x/WinMe 
brunch of execution.

Regards,
-uta



More information about the core-libs-dev mailing list