Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8311103 Enhancements and Fixes to SA ClassWriter
  3. JDK-8309979

BootstrapMethods attribute is missing in class files recreated by SA

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Icon: P4 P4
    • 22
    • 22
    • 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.

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

              Created:
              Updated:
              Resolved: