RFR: JDK-8208084: Windows build failure - "'snprintf': identifier not found"

Kim Barrett kim.barrett at oracle.com
Mon Jul 23 15:27:29 UTC 2018


> On Jul 23, 2018, at 9:38 AM, Michal Vala <mvala at redhat.com> wrote:
> 
> Hi,
> 
> JDK-8208084 introduced build failure on Windows, where `snprintf` function is not implemented by Visual Studio 2013 (currently latest compiler supported by OpenJDK).
> 
> I believe using `sprintf` is safe here. Please see the webrev. If it's ok, I would also need a sponsor for this.
> 
> bug: https://bugs.openjdk.java.net/browse/JDK-8208084
> webrev: http://cr.openjdk.java.net/~mvala/jdk/jdk/JDK-8208084/webrev.00/
> 
> 
> Thanks
> 
> -- 
> Michal Vala
> OpenJDK QE
> Red Hat Czech

It seems there's some documentation that needs to be updated.  JDK 11
supports building with VS2017, and I think with JDK 12 we'll be
requiring it, in preparation for starting to use features from more
recent C++ standards.




More information about the build-dev mailing list