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

fieldDescriptor::print_on_for prints extra newline after NULL

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 15
    • 15
    • hotspot
    • b27

        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).

              stefank Stefan Karlsson
              stefank Stefan Karlsson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: