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

os::snprintf should be used in virtualizationSupport.cpp

    Details

    • Subcomponent:
    • Resolved In Build:
      b22

      Backports

        Description

        Windows x86_64:

        c:/cygwin64/home/windows/worker/jdkX-windows/build/src/hotspot/share/utilities/virtualizationSupport.cpp(68) : error C3861: 'snprintf': identifier not found
        c:/cygwin64/home/windows/worker/jdkX-windows/build/src/hotspot/share/utilities/virtualizationSupport.cpp(74) : error C3861: 'snprintf': identifier not found
        make[3]: *** [lib/CompileJvm.gmk:177: /cygdrive/c/cygwin64/home/windows/worker/jdkX-windows/build/build/windows-x86_64-server-release/hotspot/variant-server/libjvm/objs/virtualizationSupport.obj] Error 1
        make[3]: *** Waiting for unfinished jobs....
        make[2]: *** [make/Main.gmk:257: hotspot-server-libs] Error 2

        I think #include <stdio.h> is missing in newly added virtualizationSupport.cpp. Probably only no-PCH build is affected.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  shade Aleksey Shipilev
                  Reporter:
                  shade Aleksey Shipilev
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: