RFR: 8213622 - Windows VS2013 build failure - "'snprintf': identifier not found"

Kim Barrett kim.barrett at oracle.com
Tue Nov 13 19:00:18 UTC 2018


> On Nov 12, 2018, at 4:11 PM, JC Beyler <jcbeyler at google.com> wrote:
> 
> Hi all,
> 
> I created this change instead:
> http://cr.openjdk.java.net/~jcbeyler/8213622/webrev.00/

test/hotspot/jtreg/vmTestbase/nsk/share/jni/ExceptionCheckingJniEnv.cpp
  80     full_message[len] = '\0’;

That should be
  80     full_message[len - 1] = '\0’;

len includes the space for the terminating NUL.



More information about the build-dev mailing list