Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8056011

Zero build is broken due to format specifier issue

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 8u40
    • Fix Version/s: 9
    • Component/s: hotspot
    • Labels:
    • Environment:

      zero

      Description

      Andrew Hughes reports:

      I have a fix for 8u, but not
      sure how applicable it is for 9. I haven't had a chance to look at that yet.

      Actually, it's just this:

      diff -r 6533ac845e18 -r c75d6ce2e98b src/cpu/zero/vm/frame_zero.cpp
      --- a/src/cpu/zero/vm/frame_zero.cpp Mon Jun 30 14:58:52 2014 -0400
      +++ b/src/cpu/zero/vm/frame_zero.cpp Tue Aug 19 22:31:00 2014 +0100
      @@ -216,7 +216,7 @@
           valuebuf[buflen - 1] = '\0';
       
           // Print the result
      - st->print_cr(" " PTR_FORMAT ": %-21s = %s", addr, fieldbuf, valuebuf);
      + st->print_cr(" " PTR_FORMAT ": %-21s = %s", p2i(addr), fieldbuf, valuebuf);
         }
       }

      I'm guessing 8048169 covered the PPC port use of the interpreter, but this
      file is only built as part of Zero.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andrew Andrew Hughes
                Reporter:
                dholmes David Holmes
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: