[janino-dev] [jira] Created: (JANINO-122) static field access through instance variables fails

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

[janino-dev] [jira] Created: (JANINO-122) static field access through instance variables fails

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

Reply to Author | View Threaded | Show Only this Message

static field access through instance variables fails
----------------------------------------------------

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

Static field access through instance variables fails when it should not.

The attached patch fixes it and adds a test.

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



[janino-dev] [jira] Commented: (JANINO-122) static field access through instance variables fails

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

Reply to Author | View Threaded | Show Only this Message


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

Robert Klaus commented on JANINO-122:
-------------------------------------

Does this bug lead to a CompileException with the message "Expression "xxx.getXXX()" is not a type?

> static field access through instance variables fails
> ----------------------------------------------------
>
>                 Key: JANINO-122
>                 URL: http://jira.codehaus.org/browse/JANINO-122
>             Project: Janino
>          Issue Type: Bug
>            Reporter: Matt Fowles
>            Assignee: Arno Unkrig
>         Attachments: static-access.diff
>
>
> Static field access through instance variables fails when it should not.
> The attached patch fixes it and adds a test.

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



[janino-dev] [jira] Commented: (JANINO-122) static field access through instance variables fails

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

Reply to Author | View Threaded | Show Only this Message


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

Matt Fowles commented on JANINO-122:
------------------------------------

Yes it does.

> static field access through instance variables fails
> ----------------------------------------------------
>
>                 Key: JANINO-122
>                 URL: http://jira.codehaus.org/browse/JANINO-122
>             Project: Janino
>          Issue Type: Bug
>            Reporter: Matt Fowles
>            Assignee: Arno Unkrig
>         Attachments: static-access.diff
>
>
> Static field access through instance variables fails when it should not.
> The attached patch fixes it and adds a test.

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



[janino-dev] [jira] Commented: (JANINO-122) static field access through instance variables fails

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

Reply to Author | View Threaded | Show Only this Message


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

Robert Klaus commented on JANINO-122:
-------------------------------------

Well in that case, I experienced the same problem. Is this patch going to be included in the next Janino Release?

> static field access through instance variables fails
> ----------------------------------------------------
>
>                 Key: JANINO-122
>                 URL: http://jira.codehaus.org/browse/JANINO-122
>             Project: Janino
>          Issue Type: Bug
>            Reporter: Matt Fowles
>            Assignee: Arno Unkrig
>         Attachments: static-access.diff
>
>
> Static field access through instance variables fails when it should not.
> The attached patch fixes it and adds a test.

--
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] Commented: (JANINO-122) static field access through instance variables fails

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

Reply to Author | View Threaded | Show Only this Message


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

Matt Fowles commented on JANINO-122:
------------------------------------

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

> static field access through instance variables fails
> ----------------------------------------------------
>
>                 Key: JANINO-122
>                 URL: http://jira.codehaus.org/browse/JANINO-122
>             Project: Janino
>          Issue Type: Bug
>            Reporter: Matt Fowles
>            Assignee: Arno Unkrig
>         Attachments: static-access.diff
>
>
> Static field access through instance variables fails when it should not.
> The attached patch fixes it and adds a test.

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