Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-3481

hashCode() for declared types without @key fields always yields 1

    Details

      Description

      After calling StatefulKnowledgeSession.getObjects() to retrieve all the objects in my session state, I call each's hashCode() method. All the hashCode() values for declared types without at least one @key return the value 1. This makes them impossible to use in hash-based collections.

      On IRC, etirelli said this is a regression.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                mfusco Mario Fusco
                Reporter:
                hltbdivl Adar Dembo
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: