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

MethodComparator uses the wrong CP index accessor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • hs19
    • 7
    • 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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: