JDK 9 RFR of 8152043: (fs) Remove dynamic loopup of Win32 API functions in WindowsNativeDispatcher needed to support Windows XP and Server 2003
Brian Burkhalter
brian.burkhalter at oracle.com
Wed Mar 16 22:34:00 UTC 2016
Please review at your convenience:
Issue: https://bugs.openjdk.java.net/browse/JDK-8152043
Patch: http://cr.openjdk.java.net/~bpb/8152043/webrev.00/
Summary: Remove dynamic loading of certain Win32 API function pointers via the kernel32 module handle which used to be needed to support Windows XP and Windows Server 2003. As the oldest versions of Windows which meet the requirements of JDK 8 onwards directly support the Win32 API functions in question, this dynamic lookup is no longer needed.
Running the NIO regression tests did not reveal any problems either building or testing.
The issue ID 8152043 is added to the @bug tag in each of the two tests because test/java/nio/file/Files/CheckPermissions.java indirectly exercises the Win32 API functions CreateSymbolicLinkW() and GetFinalPathNameByHandleW(), and test/java/nio/file/attribute/UserDefinedFileAttributeView/Basic.java likewise indirectly exercises FindFirstStreamW() and FindNextStreamW().
Thanks,
Brian
More information about the nio-dev
mailing list