[ 
https://issues.apache.org/jira/browse/OGNL-40?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13153430#comment-13153430
 ] 

Daniel Pitts commented on OGNL-40:
----------------------------------

Hi, sorry for the confusion, the patch changes the unit tests to
compare the compiled results against the non compiled results. It is
intended to show where they differ so we can discuss with the
community which result is correct, and fix the one that is not.

Thanks,
Daniel.

Sent from my iPhone

On Nov 18, 2011, at 5:16 PM, "Simone Tripodi (Commented) (JIRA)"


                
> Compiled expressions behave differently than uncompiled expressions with same 
> object graph.
> -------------------------------------------------------------------------------------------
>
>                 Key: OGNL-40
>                 URL: https://issues.apache.org/jira/browse/OGNL-40
>             Project: OGNL
>          Issue Type: Bug
>            Reporter: Daniel Pitts
>            Assignee: Simone Tripodi
>         Attachments: better_unit_tests.patch
>
>
> I discovered that the same expression string will have different effects if 
> it is compiled vs uncompiled. The unit tests currently test mostly "compiled" 
> cases, which leaves the possibility of introducing bugs in the uncompiled 
> expression handling.
> I'll attatch a patch which compares modifies the unit tests to compare the 
> two results. 39 tests fail. Some of them are due to constant "type" 
> differences, but there are other types of failures.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to