Blame SOURCES/8143855.patch

8ba7a7
# HG changeset patch
8ba7a7
# User andrew
8ba7a7
# Date 1448509207 0
8ba7a7
#      Thu Nov 26 03:40:07 2015 +0000
8ba7a7
# Node ID 4a4a5b8b3dfe44b25d2a40ba987e5243b3ebc9db
8ba7a7
# Parent  110735ab93eca3bd6e9b157955a942e00aed72e1
8ba7a7
8143855: Bad printf formatting in frame_zero.cpp
8ba7a7
Summary: Backport subset of 8075967 fix that resolves this issue.
8ba7a7
Reviewed-by: dholmes
8ba7a7
8ba7a7
diff -r 110735ab93ec -r 4a4a5b8b3dfe src/cpu/zero/vm/frame_zero.cpp
8ba7a7
--- openjdk/hotspot/src/cpu/zero/vm/frame_zero.cpp	Wed Nov 04 13:38:38 2015 +0100
8ba7a7
+++ openjdk/hotspot/src/cpu/zero/vm/frame_zero.cpp	Thu Nov 26 03:40:07 2015 +0000
8ba7a7
@@ -1,5 +1,5 @@
8ba7a7
 /*
8ba7a7
- * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
8ba7a7
+ * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved.
8ba7a7
  * Copyright 2007, 2008, 2009, 2010, 2011 Red Hat, Inc.
8ba7a7
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8ba7a7
  *
8ba7a7
@@ -216,7 +216,7 @@
8ba7a7
     valuebuf[buflen - 1] = '\0';
8ba7a7
 
8ba7a7
     // Print the result
8ba7a7
-    st->print_cr(" " PTR_FORMAT ": %-21s = %s", addr, fieldbuf, valuebuf);
8ba7a7
+    st->print_cr(" " PTR_FORMAT ": %-21s = %s", p2i(addr), fieldbuf, valuebuf);
8ba7a7
   }
8ba7a7
 }
8ba7a7