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

JDK 12 build from "jdk/client" repository fails after the fix for JDK-8211432

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Not an Issue
    • Affects Version/s: 12
    • Fix Version/s: None
    • Component/s: hotspot
    • Labels:
      None
    • Subcomponent:
      gc
    • OS:
      windows_10

      Description

      On MS Windows 10 OS 64-bit build of JDK 12 from the repository "http://hg.openjdk.java.net/jdk/client" fails.

      In the local build environment it was practically proven that reversion of 2 fixes: JDK-8212083, JDK-8211432 allows to resolve the build failure, therefore the reason of the build failure is the fix for the bug JDK-8211432.

      -------------------- Part of the build log containing the error --------------------
      ...
      Compiling 8 files for jdk.unsupported.desktop
      Creating support/modules_libs/java.desktop/mlib_image.dll from 50 file(s)
      Creating support/modules_libs/java.desktop/awt.dll from 183 file(s)
      Creating support/modules_libs/java.desktop/lcms.dll from 27 file(s)
      Creating support/modules_libs/java.desktop/javajpeg.dll from 46 file(s)
      Creating support/modules_libs/java.desktop/freetype.dll from 113 file(s)
      Creating support/modules_libs/java.desktop/fontmanager.dll from 45 file(s)
      Creating support/modules_libs/java.desktop/jawt.dll from 1 file(s)
      Creating support/modules_libs/java.desktop/splashscreen.dll from 82 file(s)
      Creating support/modules_libs/java.desktop/jsound.dll from 17 file(s)
      Creating support/modules_libs/java.instrument/instrument.dll from 12 file(s)
      Creating support/modules_libs/java.management/management.dll from 9 file(s)
      Creating support/modules_libs/java.prefs/prefs.dll from 1 file(s)
      Creating support/modules_libs/java.rmi/rmi.dll from 1 file(s)
      Creating support/modules_cmds/java.rmi/rmid.exe from 1 file(s)
      Creating support/modules_cmds/java.rmi/rmiregistry.exe from 1 file(s)

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".
      Creating support/modules_cmds/java.scripting/jrunscript.exe from 1 file(s)

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".
      Creating support/modules_libs/java.security.jgss/j2gss.dll from 3 file(s)
      Creating support/modules_libs/java.security.jgss/w2k_lsa_auth.dll from 2 file(s)
      Creating support/modules_cmds/java.security.jgss/kinit.exe from 1 file(s)
      Creating support/modules_cmds/java.security.jgss/klist.exe from 1 file(s)
      Creating support/modules_cmds/java.security.jgss/ktab.exe from 1 file(s)

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".
      Creating support/modules_libs/java.smartcardio/j2pcsc.dll from 2 file(s)
      Creating support/modules_libs/jdk.accessibility/javaaccessbridge.dll from 5 file(s)
      Creating support/modules_libs/jdk.accessibility/windowsaccessbridge-64.dll from 7 file(s)
      Creating support/modules_cmds/jdk.accessibility/jabswitch.exe from 1 file(s)
      Creating support/modules_cmds/jdk.accessibility/jaccessinspector.exe from 6 file(s)
      Creating support/modules_cmds/jdk.accessibility/jaccesswalker.exe from 5 file(s)
      Creating support/modules_cmds/jdk.aot/jaotc.exe from 1 file(s)

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".
      Creating support/modules_libs/jdk.attach/attach.dll from 2 file(s)
      Creating support/modules_cmds/jdk.compiler/javac.exe from 1 file(s)
      Creating support/modules_cmds/jdk.compiler/serialver.exe from 1 file(s)

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".
      Creating support/modules_libs/jdk.crypto.cryptoki/j2pkcs11.dll from 14 file(s)
      Creating support/modules_libs/jdk.crypto.ec/sunec.dll from 28 file(s)
      Creating support/modules_libs/jdk.crypto.mscapi/sunmscapi.dll from 1 file(s)
      Creating support/modules_libs/jdk.hotspot.agent/saproc.dll from 2 file(s)
      Creating support/modules_cmds/jdk.hotspot.agent/jhsdb.exe from 1 file(s)

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".
      Creating support/modules_libs/jdk.internal.le/le.dll from 1 file(s)
      Creating support/modules_cmds/jdk.jartool/jar.exe from 1 file(s)
      Creating support/modules_cmds/jdk.jartool/jarsigner.exe from 1 file(s)

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".
      Creating support/modules_cmds/jdk.javadoc/javadoc.exe from 1 file(s)

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".
      Creating support/modules_cmds/jdk.jcmd/jinfo.exe from 1 file(s)
      Creating support/modules_cmds/jdk.jcmd/jmap.exe from 1 file(s)
      Creating support/modules_cmds/jdk.jcmd/jps.exe from 1 file(s)
      Creating support/modules_cmds/jdk.jcmd/jstack.exe from 1 file(s)
      Creating support/modules_cmds/jdk.jcmd/jstat.exe from 1 file(s)
      Creating support/modules_cmds/jdk.jcmd/jcmd.exe from 1 file(s)

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".
      Creating support/modules_cmds/jdk.jconsole/jconsole.exe from 1 file(s)

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".
      Creating support/modules_cmds/jdk.jdeps/javap.exe from 1 file(s)
      Creating support/modules_cmds/jdk.jdeps/jdeps.exe from 1 file(s)
      Creating support/modules_cmds/jdk.jdeps/jdeprscan.exe from 1 file(s)

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".
      Creating support/modules_libs/jdk.jdi/dt_shmem.dll from 5 file(s)
      Creating support/modules_cmds/jdk.jdi/jdb.exe from 1 file(s)

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".
      Creating support/modules_libs/jdk.jdwp.agent/dt_socket.dll from 2 file(s)
      Creating support/modules_libs/jdk.jdwp.agent/jdwp.dll from 42 file(s)
      Creating support/modules_cmds/jdk.jshell/jshell.exe from 1 file(s)

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".
      Creating support/modules_cmds/jdk.jstatd/jstatd.exe from 1 file(s)

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".
      Creating support/modules_libs/jdk.management/management_ext.dll from 7 file(s)
      Creating support/modules_libs/jdk.management.agent/management_agent.dll from 1 file(s)
      Creating support/modules_libs/jdk.pack/unpack.dll from 7 file(s)
      Creating support/modules_cmds/jdk.pack/pack200.exe from 1 file(s)
      Creating support/modules_cmds/jdk.pack/unpack200.exe from 7 file(s)

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".
      Creating support/modules_cmds/jdk.rmic/rmic.exe from 1 file(s)
      c:\Work\Ws\jdk-client\open\test\hotspot\jtreg\vmTestbase\nsk\share\jni\ExceptionCheckingJniEnv.cpp(49) : error C3861: 'snprintf': identifier not found
              c:\Work\Ws\jdk-client\open\test\hotspot\jtreg\vmTestbase\nsk\share\jni\ExceptionCheckingJniEnv.cpp(48) : while compiling class template member function 'void `anonymous-namespace'::JNIVerifier<jclass>::ProcessReturnError(void)'
              c:\Work\Ws\jdk-client\open\test\hotspot\jtreg\vmTestbase\nsk\share\jni\ExceptionCheckingJniEnv.cpp(44) : see reference to function template instantiation 'void `anonymous-namespace'::JNIVerifier<jclass>::ProcessReturnError(void)' being compiled
              c:\Work\Ws\jdk-client\open\test\hotspot\jtreg\vmTestbase\nsk\share\jni\ExceptionCheckingJniEnv.cpp(84) : see reference to class template instantiation '`anonymous-namespace'::JNIVerifier<jclass>' being compiled
      c:\Work\Ws\jdk-client\open\test\hotspot\jtreg\vmTestbase\nsk\share\jni\ExceptionCheckingJniEnv.cpp(62) : error C3861: 'snprintf': identifier not found
      make[3]: *** [JtregNativeHotspot.gmk:1518: /cygdrive/c/Work/Ws/jdk-client/build/windows-x86_64-server-fastdebug/support/test/hotspot/jtreg/native/support/libJNIGlobalRefLocker/libJNIGlobalRefLocker.obj] Error 1
      make[2]: *** [make/Main.gmk:500: build-test-hotspot-jtreg-native] Error 2
      make[2]: *** Waiting for unfinished jobs....

      c:/Work/Ws/jdk-client/open/src/java.base/windows/native/launcher/java.manifest : manifest authoring warning 81010002: Unrecognized Element "dpiAwareness" in namespace "http://schemas.microsoft.com/SMI/2016/WindowsSettings".

      ERROR: Build failed for target 'all' in configuration 'windows-x86_64-server-fastdebug' (exit code 2)

      === Output from failing command(s) repeated here ===
      * For target support_test_hotspot_jtreg_native_support_libJNIGlobalRefLocker_libJNIGlobalRefLocker.obj:
      libJNIGlobalRefLocker.cpp
      c:\Work\Ws\jdk-client\open\test\hotspot\jtreg\vmTestbase\nsk\share\jni\ExceptionCheckingJniEnv.cpp(49) : error C3861: 'snprintf': identifier not found
              c:\Work\Ws\jdk-client\open\test\hotspot\jtreg\vmTestbase\nsk\share\jni\ExceptionCheckingJniEnv.cpp(48) : while compiling class template member function 'void `anonymous-namespace'::JNIVerifier<jclass>::ProcessReturnError(void)'
              c:\Work\Ws\jdk-client\open\test\hotspot\jtreg\vmTestbase\nsk\share\jni\ExceptionCheckingJniEnv.cpp(44) : see reference to function template instantiation 'void `anonymous-namespace'::JNIVerifier<jclass>::ProcessReturnError(void)' being compiled
              c:\Work\Ws\jdk-client\open\test\hotspot\jtreg\vmTestbase\nsk\share\jni\ExceptionCheckingJniEnv.cpp(84) : see reference to class template instantiation '`anonymous-namespace'::JNIVerifier<jclass>' being compiled
      c:\Work\Ws\jdk-client\open\test\hotspot\jtreg\vmTestbase\nsk\share\jni\ExceptionCheckingJniEnv.cpp(62) : error C3861: 'snprintf': identifier not found
         ... (rest of output omitted)

      * All command lines available in /cygdrive/c/Work/Ws/jdk-client/build/windows-x86_64-server-fastdebug/make-support/failure-logs.
      === End of repeated output ===

      No indication of failed target found.
      Hint: Try searching the build log for '] Error'.
      Hint: See doc/building.html#troubleshooting for assistance.

      make[1]: *** [/cygdrive/c/Work/Ws/jdk-client/open/make/Init.gmk:310: main] Error 2
      make: *** [/cygdrive/c/Work/Ws/jdk-client/open/make/Init.gmk:186: all] Error 2

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                alitvinov Anton Litvinov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: