« Return to Thread: [janino-dev] [jira] Created: (JANINO-112) Access to protected members can fail across package boundaries

[janino-dev] [jira] Commented: (JANINO-112) Access to protected members can fail across package boundaries

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

Reply to Author | View in Thread


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

Matt Fowles commented on JANINO-112:
------------------------------------

Arno, I do not have the ability to close this issue.  I think my login to Jira does not have the power.  You can consider this closed.

> Access to protected members can fail across package boundaries
> --------------------------------------------------------------
>
>                 Key: JANINO-112
>                 URL: http://jira.codehaus.org/browse/JANINO-112
>             Project: Janino
>          Issue Type: Bug
>            Reporter: Matt Fowles
>            Assignee: Arno Unkrig
>         Attachments: protected.diff
>
>
> The following will fail to compile in Janino.  The attached patch fixes it and adds a test
> {code:title=ProtectedVariable.java}
> package foo;
> public class ProtectedVariable {
>     protected int var = 1;
> }
> {code}
> {code:title=ProtectedVariable.java}
> package bar;
> public static class Top extends foo.ProtectedVariable {
>         public class Inner {
>             public int get() {
>                 return var;
>             }
>         }
> }
> {code}

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


 « Return to Thread: [janino-dev] [jira] Created: (JANINO-112) Access to protected members can fail across package boundaries