Uploaded image for project: 'Hibernate Validator'
  1. HV-1520

Fix ClassCastException due to invalid *ProcessedUnit equals() implementations

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.0.5.Final
    • Component/s: engine
    • Labels:
      None

      Description

      Need to update logic in equals methods to check against passed object class. Instead of:

      if ( o == null || getClass() != *ProcessedUnit.class )
      

      do next check:

      if ( o == null || o.getClass() != *ProcessedUnit.class )
      

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                markob Marko Bekhta
                Reporter:
                markob Marko Bekhta
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: