Blame SOURCES/8184309-pr3596.patch

95d809
# HG changeset patch
95d809
# User ysuenaga
95d809
# Date 1527498573 -3600
95d809
#      Mon May 28 10:09:33 2018 +0100
95d809
# Node ID ef176cb429c49d1c330d9575938f66b04e3fb730
95d809
# Parent  6915dc9ae18cce5625d3a3fc74b37da70a5b4215
95d809
8184309, PR3596: Build warnings from GCC 7.1 on Fedora 26
95d809
Reviewed-by: kbarrett, vlivanov
95d809
95d809
diff --git openjdk.orig/hotspot/src/share/vm/code/dependencies.cpp openjdk/hotspot/src/share/vm/code/dependencies.cpp
95d809
--- openjdk.orig/hotspot/src/share/vm/code/dependencies.cpp
95d809
+++ openjdk/hotspot/src/share/vm/code/dependencies.cpp
95d809
@@ -525,7 +525,7 @@
95d809
         xtty->object("x", arg.metadata_value());
95d809
       }
95d809
     } else {
95d809
-      char xn[10]; sprintf(xn, "x%d", j);
95d809
+      char xn[12]; sprintf(xn, "x%d", j);
95d809
       if (arg.is_oop()) {
95d809
         xtty->object(xn, arg.oop_value());
95d809
       } else {