[jira] Created: (RVM-868) Method resolution code unable to resolve methods in some cases

View: New views
3 Messages — Rating Filter:   Alert me  

[jira] Created: (RVM-868) Method resolution code unable to resolve methods in some cases

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Method resolution code unable to resolve methods in some cases
--------------------------------------------------------------

                 Key: RVM-868
                 URL: http://jira.codehaus.org/browse/RVM-868
             Project: RVM
          Issue Type: Bug
            Reporter: Suriya Subramanian
            Priority: Critical
         Attachments: crash.txt, ResolverTestCase.java

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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues

[jira] Commented: (RVM-868) Method resolution code unable to resolve methods in some cases

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/RVM-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195588#action_195588 ]

David Grove commented on RVM-868:
---------------------------------

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


> Method resolution code unable to resolve methods in some cases
> --------------------------------------------------------------
>
>                 Key: RVM-868
>                 URL: http://jira.codehaus.org/browse/RVM-868
>             Project: RVM
>          Issue Type: Bug
>            Reporter: Suriya Subramanian
>            Assignee: David Grove
>            Priority: Critical
>         Attachments: crash.txt, ResolverTestCase.java
>
>
> 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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues

[jira] Assigned: (RVM-868) Method resolution code unable to resolve methods in some cases

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/RVM-868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Grove reassigned RVM-868:
-------------------------------

    Assignee: David Grove

> Method resolution code unable to resolve methods in some cases
> --------------------------------------------------------------
>
>                 Key: RVM-868
>                 URL: http://jira.codehaus.org/browse/RVM-868
>             Project: RVM
>          Issue Type: Bug
>            Reporter: Suriya Subramanian
>            Assignee: David Grove
>            Priority: Critical
>         Attachments: crash.txt, ResolverTestCase.java
>
>
> 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.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Jikesrvm-issues mailing list
Jikesrvm-issues@...
https://lists.sourceforge.net/lists/listinfo/jikesrvm-issues