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

[JVMCI] bug in HotSpotResolvedJavaMethodImpl.equals

XMLWordPrintable

    • b05

      A bug[1] slipped in with JDK-8289094 that broke HotSpotResolvedJavaMethodImpl.equals.

      Instead of:

                  return getMethodPointer() == getMethodPointer();

      it should obviously be:

                  return that.getMethodPointer() == getMethodPointer();

      [1] https://github.com/openjdk/jdk/commit/ba670ecbb9efdbcaa783d4a933499ca191fb58c5#diff-b39038af11e0ac6774aa1b7e66c1b11fa265194649762a4768446f74d6fbf2cdR169

            dnsimon Douglas Simon
            dnsimon Douglas Simon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: