Bug 8105 - Change EL relop rules with regard to null
Summary: Change EL relop rules with regard to null
Alias: None
Product: Taglibs
Classification: Unclassified
Component: Standard Taglib (show other bugs)
Version: unspecified
Hardware: All All
: P3 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2002-04-15 13:54 UTC by Nathan Abramson
Modified: 2004-11-16 19:05 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Abramson 2002-04-15 13:54:25 UTC
A new clause has been added to the rules for relational operators (<,
>, <=, >=)

  if A==B, if operator is <=, le, >= or ge return true otherwise return false
++if A is null or B is null, return false
  if A or B is Float or Double coerce both A and B to Double apply operator

Add this rule to the implementation
Comment 1 Nathan Abramson 2002-04-15 14:24:30 UTC
Fixed by changing the LessThanOperator, LessThanOrEqualsOperator,
GreaterThanOperator, GreaterThanOrEqualsOperator