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

fieldDescriptor::print_on_for prints extra newline after NULL

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 15
    • Fix Version/s: 15
    • Component/s: hotspot
    • Subcomponent:
    • Resolved In Build:
      b27

      Backports

        Description

        Reported by Ioi:

        (gdb) call pp(m)
        "Executing pp"
        java.lang.Class
        {0x00000007bf0008b0} - klass: 'java/lang/Class'
         - ---- fields (total size 14 words):
         - private volatile transient 'classRedefinedCount' 'I' @12 0
         - private volatile transient strict 'cachedConstructor' 'Ljava/lang/reflect/Constructor;' @40 NULL
         (0)
         - private transient 'name' 'Ljava/lang/String;' @44 NULL
         (0)

        There are newlines between NULL and (0).

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                stefank Stefan Karlsson
                Reporter:
                stefank Stefan Karlsson
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: