Garbage in ClassFormatError message

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • hs20
    • Affects Version/s: hs20
    • Component/s: hotspot
    • b04
    • b06
    • generic
    • generic
    • Verified

        When bootstrap_method_ref in BootstrapMethods attribute points to a wrong CP entry (non-MethodHandle), JVM throws ClassFormatError with a message, where method index and class file name is garbage:

        Exception in thread "main" java.lang.ClassFormatError: bootstrap_method_index 141157536 has bad constant type in class file ì

        It seems like the corresponding sprintf() does not receive method index and class file name.

        This bug was introduced by CR 7001379.

              Assignee:
              Christian Thalinger (Inactive)
              Reporter:
              Kirill Shirokov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: