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

MSVC prior to VS 2013 doesn't know the 'va_copy' macro

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b109

      Description

      Change "8146793: logStream::write re-formats string" introduced an unconditional usage of the 'va_copy' macro which is not known to MSVC versions prior to VS2013.

      The HotSpot code base already uses the 'va_copy' macro in jni.cpp with a guard against it being undefined.

      This change will move the conditional guard and redefinition of 'va_copy' from jni.cpp to globalDefinitions_visCPP.hpp to make it available in all HotSpot source files.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: