You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Biestro (Jira)" <ji...@apache.org> on 2023/03/27 11:00:00 UTC

[jira] [Closed] (JEXL-361) Null may be used as operand silently even in arithmetic strict(true) mode

     [ https://issues.apache.org/jira/browse/JEXL-361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Biestro closed JEXL-361.
------------------------------

> Null may be used as operand silently even in arithmetic strict(true) mode
> -------------------------------------------------------------------------
>
>                 Key: JEXL-361
>                 URL: https://issues.apache.org/jira/browse/JEXL-361
>             Project: Commons JEXL
>          Issue Type: Bug
>    Affects Versions: 3.2.1
>            Reporter: Henri Biestro
>            Assignee: Henri Biestro
>            Priority: Major
>             Fix For: 3.3
>
>
> It appears null may be used as an operator argument despite arithmetic strictness.
> {code}
> var i = null;
> if (i < 0) {...}
> {code}
> Should fail when arithmetic is strict.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)