Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8152043

(fs) Remove dynamic loopup of Win32 API functions in WindowsNativeDispatcher needed to support Windows XP and Server 2003

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 8, 9
    • core-libs
    • b112
    • windows

      In order to support pre-Vista versions of Windows, several Win32 API functions, viz., FindFirstStreamW(), FindNextStreamW(), CreateSymbolicLinkW(), and GetFinalPathNameByHandleW(), had to be loaded dynamically by first obtaining the kernel32 module handle from GetModuleHandleExW() and then using this handle to obtain the addresses of the functions. This is no longer necessary in the versions of Windows required by JDK 8 onward, so the Win32 API functions should be able to be used directly without resorting to dynamic lookup.

            bpb Brian Burkhalter
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: