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

GetLastError() in os_windows.cpp should not store value to errno

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • 26
    • None
    • hotspot

      In os_windows.cpp:

      In a few places results returned by GetLastError() are stored to errno. However, errno has no relation to GetLastError(), and their ranges are not the same.

      Results of GetLastError should be stored into variables of type DWORD.

            aartemov Anton Artemov
            aartemov Anton Artemov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: