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

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: