You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2004/10/07 11:18:30 UTC

DO NOT REPLY [Bug 31577] New: - Comparing Integers as ints no longer works.

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=31577>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=31577

Comparing Integers as ints no longer works.

           Summary: Comparing Integers as ints no longer works.
           Product: Commons
           Version: 1.0 Final
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: JEXL
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: dhewitt@objectivity.co.uk


In jexl 1.0-beta-2 the following expression evaluated to false, where n is an
Integer with the value 0:

n != null && n != 0

However, the same expression evaluates to true under 1.0 final.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org