MethodComparator uses the wrong CP index accessor

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • hs19
    • Affects Version/s: 7
    • Component/s: hotspot
    • b03
    • generic
    • generic
    • Verified

        The changes to constant pool accessors in 6939207 picked the wrong CP accessor for MethodComparator. The original change wrongly assumed the classes being compared had not yet been rewritten.

        This causes an assertion "clean u2" to throw when using JVMTI class redefinition methods, in the debug build. It will also cause unpredictable failures on little-endian systems.

              Assignee:
              John Rose
              Reporter:
              John Rose
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: