Bug 8105

Summary: Change EL relop rules with regard to null
Product: Taglibs Reporter: Nathan Abramson <arista>
Component: Standard TaglibAssignee: Tomcat Developers Mailing List <dev>
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   

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