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