[jira] Created: (JANINO-132) Inaccessible methods should be ignored for method resolution

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

[jira] Commented: (JANINO-132) Inaccessible methods should be ignored for method resolution

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

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/JANINO-132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=180381#action_180381 ]

Matt Fowles commented on JANINO-132:
------------------------------------

You can find a fixed version of this at http://code.google.com/p/janino-streambase/

> Inaccessible methods should be ignored for method resolution
> ------------------------------------------------------------
>
>                 Key: JANINO-132
>                 URL: http://jira.codehaus.org/browse/JANINO-132
>             Project: Janino
>          Issue Type: Bug
>            Reporter: Matt Fowles
>            Assignee: Arno Unkrig
>         Attachments: resolution.diff
>
>
> {code:Override.java}
> public class OverridesWithDifferingVisibility {
>     public static void test(Object o) { }
>     private static void test(Object[] arr) { }
> }
> {code}
> {code:Test.java}
> OverridesWithDifferingVisibility.test(new Object[] { "asdf"});
> {code}
> should compile.

--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Created: (JANINO-132) Inaccessible methods should be ignored for method resolution

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

Reply to Author | View Threaded | Show Only this Message

Inaccessible methods should be ignored for method resolution
------------------------------------------------------------

                 Key: JANINO-132
                 URL: http://jira.codehaus.org/browse/JANINO-132
             Project: Janino
          Issue Type: Bug
            Reporter: Matt Fowles
            Assignee: Arno Unkrig
         Attachments: resolution.diff

{code:Override.java}
public class OverridesWithDifferingVisibility {
    public static void test(Object o) { }
    private static void test(Object[] arr) { }
}
{code}

{code:Test.java}
OverridesWithDifferingVisibility.test(new Object[] { "asdf"});
{code}

should compile.


--
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

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email