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

Brian Burkhalter brian.burkhalter at oracle.com
Thu May 7 23:26:13 UTC 2015


On May 7, 2015, at 11:15 AM, Brian Burkhalter <brian.burkhalter at oracle.com> wrote:

>> The issue of GerVersionEx being deprecated is a general issue for the JDK. There is a new helper API that I suspect we need to transition to at some point. The Microsoft folks on this mailing list might be able to advise on this.
> 
> Based on my investigation one needs Visual Studio 2013 for the replacement function IsWindowsVistaOrGreater().

This latter statement of mine is inaccurate. The situation is the following:

"The following functions can be used to determine the current OS version or identify whether it is a Windows or Windows Server release. These APIs supersede GetVersion and GetVersionEx.

Note  These APIs are defined by versionhelpers.h, which is included in the Windows 8.1 software development kit (SDK). This file can be used with other Microsoft Visual Studio releases to implement the same functionality for Windows versions prior to Windows 8.1."

https://msdn.microsoft.com/en-us/library/windows/desktop/dn424972%28v=vs.85%29.aspx

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20150507/3489a40f/attachment.html>


More information about the nio-dev mailing list