Bug ID: 62287
           Summary: ValueExpressionImpl#equals is wrong
           Product: Tomcat 9
           Version: 9.0.6
          Hardware: PC
                OS: Mac OS X 10.1
            Status: NEW
          Severity: normal
          Priority: P2
         Component: EL
  Target Milestone: -----

Created attachment 35859
patch for ValueExpressionImpl

ValueExpressionImpl#equals is likely not enough.

The current code just compares the hashCode():

>return (obj instanceof ValueExpressionImpl && obj.hashCode() == 

It's possible that there is the same hashCode for different objects. For some
Java Classes we alwasy get 0 even.

For better tracking: this came up during a bug report against Apache
OpenWebBeans as reported by Holger Sunke.

You are receiving this mail because:
You are the assignee for the bug.
To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to