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

Visual Studio pragmas should be guarded by #ifdef _MSC_VER

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 9
    • 9
    • hotspot
    • None
    • b107

    Description

      Change "8074895: os::getenv is inadequate" introduced some MSVC pragmas in src/share/vm/utilities/growableArray.hpp to supress warnings during compilation.

      Unfortunately these MSVC macros have been introduced unconditionally which produces warnings on other platforms.

      Attachments

        Issue Links

          Activity

            People

              simonis Volker Simonis
              simonis Volker Simonis
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: