Uploaded image for project: 'JikesRVM'
  1. JikesRVM
  2. RVM-868

Method resolution code unable to resolve methods in some cases

    Details

    • Type: Bug
    • Status: Open
    • Priority: High
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 3.1.4
    • Component/s: None
    • Labels:
      None

      Description

      Looks like the method resolution code MethodReference.resolveInternal() is incorrect. It does not look for methods implemented in interfaces implemented by a class. In contrast, FieldReference.resolveInternal() looks in all super classes and interfaces a class implements. I am attaching a simple test program that demonstrates this bug. This bug exists in SVN r15788.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              dgrove David Grove added a comment -

              can reproduce problem. I'll take a look at fixing it.

              Show
              dgrove David Grove added a comment - can reproduce problem. I'll take a look at fixing it.
              Hide
              dgrove David Grove added a comment -

              defer to 3.1.4

              Show
              dgrove David Grove added a comment - defer to 3.1.4

                People

                • Assignee:
                  dgrove David Grove
                  Reporter:
                  suriyasubramanian Suriya Subramanian
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated: