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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • hotspot
    • None
    • b109

      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.

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

              Created:
              Updated:
              Resolved: