-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Closed
Labels
in: webAn issue in web modules (web, webmvc)An issue in web modules (web, webmvc)type: breaks-passivityA change that breaks passivity with the previous releaseA change that breaks passivity with the previous releasetype: bugA general bugA general bug
Milestone
Description
Summary
Ideally, the hashCode method defined by a class should return distinct integers for distinct objects. Not doing so impacts performance when the objects are stored in a HashMap
Actual Behavior
The algorithm in WebAuthenticationDetails#hashCode has a 26% chance of returning zero
Expected Behavior
A much broader range of hash codes are returned for distinct objects
Configuration
N/A
Version
4.0.9 and latest
Sample
Metadata
Metadata
Assignees
Labels
in: webAn issue in web modules (web, webmvc)An issue in web modules (web, webmvc)type: breaks-passivityA change that breaks passivity with the previous releaseA change that breaks passivity with the previous releasetype: bugA general bugA general bug