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

RedefineClass is an apparent no-op if instance method is final

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.2
    • 1.4.2
    • vm-legacy
    • b11
    • generic
    • generic


      This issue is the second part of Borland's mail that originally
      reported the issue with access to locals when a class is redefined
      - see 4777868.

      If a redefined class contains an instance method that is final then any
      subsequent calls to the method will continue to execute the <obsolete> implementation. The issue arises because final methods are statically
      bound to avoid a vtable dispatch.

      See testcase RedefineFinal.sh in regressionTestsInWaiting.

            alanb Alan Bateman
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: