JDK-8213622 : Windows VS2013 build failure - "'snprintf': identifier not found"
  • Type: Bug
  • Component: hotspot
  • Sub-Component: test
  • Affected Version: 12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • Submitted: 2018-11-09
  • Updated: 2023-12-04
  • Resolved: 2018-11-14
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 12
11.0.22-oracleFixed 12 b20Fixed
Related Reports
Relates :  
Description
ERROR: Build failed for targets 'all bootcycle-images docs' in configuration '/cygdrive/r/buildroot' (exit code 2) 

=== Output from failing command(s) repeated here ===
* For target support_test_hotspot_jtreg_native_support_libBooleanArrayCriticalLocker_libBooleanArrayCriticalLocker.obj:
libBooleanArrayCriticalLocker.cpp
r:\openjdk\test\hotspot\jtreg\vmTestbase\nsk\share\jni\ExceptionCheckingJniEnv.cpp(51) : error C3861: 'snprintf': identifier not found
        r:\openjdk\test\hotspot\jtreg\vmTestbase\nsk\share\jni\ExceptionCheckingJniEnv.cpp(50) : while compiling class template member function 'void `anonymous-namespace'::JNIVerifier<jclass>::ProcessReturnError(void)'
        r:\openjdk\test\hotspot\jtreg\vmTestbase\nsk\share\jni\ExceptionCheckingJniEnv.cpp(46) : see reference to function template instantiation 'void `anonymous-namespace'::JNIVerifier<jclass>::ProcessReturnError(void)' being compiled
        r:\openjdk\test\hotspot\jtreg\vmTestbase\nsk\share\jni\ExceptionCheckingJniEnv.cpp(86) : see reference to class template instantiation '`anonymous-namespace'::JNIVerifier<jclass>' being compiled
r:\openjdk\test\hotspot\jtreg\vmTestbase\nsk\share\jni\ExceptionCheckingJniEnv.cpp(64) : error C3861: 'snprintf': identifier not found
   ... (rest of output omitted)
Comments
[jdk11u-fix-request] Approval Request from Amos “Backporting for parity with jdk 11.0.22-oracle. No risk, test fix. Clean backort. SAP nightlies passed on 2023-11-30.”
30-11-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/2305 Date: 2023-11-29 09:34:53 +0000
29-11-2023

Commit: https://github.com/openjdk/jdk/commit/d7d4bc9fdd42f60557356b23917eb26892a868d6 Author: Jean Christophe Beyler <jcbeyler@openjdk.org> Date: Wed Nov 14 12:25:15 2018 -0800
29-11-2023

URL: http://hg.openjdk.java.net/jdk/jdk/rev/40098289d580 User: jcbeyler Date: 2018-11-14 20:32:47 +0000
14-11-2018