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

The instruction mnemonics is followed by redundant spaces

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Cannot Reproduce
    • Affects Version/s: 8
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
    • Environment:

      8.0 b126

      Description

      Compile any class e.g.

      class A {
      }

      and get the javap's output with "-c" or "-v" option.

      The instruction mnemonics "aload_0" and "return" is followed by unnecessary spaces:
      ....
             0: aload_0
             1: invokespecial #1 // Method java/lang/Object."<init>":()V
             4: return
      .....

      Hex dump for aload_0 string:
      20 20 20 20 20 20 20 30 3A 20 61 6C 6F 61 64 5F 30 20 20 20 20 20 20 20 0D 0A
             

        Attachments

          Activity

            People

            Assignee:
            kizune Alexander Zuev
            Reporter:
            ogb Oleg Barbashov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: