[9] RFR of 8074821: Resolve disabled warnings for libnio

Alan Bateman Alan.Bateman at oracle.com
Wed Aug 19 09:01:05 UTC 2015

On 18/08/2015 01:55, Brian Burkhalter wrote:
> It differs from the prior one in the addition of the lines
> +// GetVersionEx is deprecated; disable the warning until a 
> replacement is found
> +#pragma warning(disable : 4996)
> just before the functions in which GetVersionEx() is invoked in the 
> Windows source code of Iocp.c and Net.c. There is precedence elsewhere 
> in the source for using this approach. I don’t think that in the Net.c 
> source it is necessary to repeat the pragma directive [1] but it does 
> serve to emphasize the functions which call GetVersionEx().
I think we can drop some of these GetVersionEx usages in Net.c because 
they date back to Windows XP and older.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20150819/8e688250/attachment-0001.html>

More information about the nio-dev mailing list