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

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8, 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b112
    • OS:
      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

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

                Dates

                Created:
                Updated:
                Resolved: