BootstrapMethods attribute is missing in class files recreated by SA

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: P4
    • 22
    • Affects Version/s: 22
    • Component/s: hotspot
    • None
    • b05

      BootstrapMethods attribute is missing in class files recreated by SA (serviceability agent) using dumpclass or buildreplayjars command. The class files thus generated are not valid if there is a Dynamic or InvokeDynamic constant pool entry. Such classes cannot be used for replay compilation.

      Class attribute are written by ClassWriter https://github.com/openjdk/jdk/blob/8aad881e803fddc26f45270f779ff0c0e5a095d8/src/jdk.hotspot.agent/share/classes/sun/jvm/hotspot/tools/jcore/ClassWriter.java#L665.

            Assignee:
            Ashutosh Mehra
            Reporter:
            Ashutosh Mehra
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: