[hibernate-commits] [hibernate/hibernate-validator] 87e082: HV-1373 Replacing calls to hashCode with System#id...
GitHub
noreply at github.com
Fri Oct 20 06:00:11 EDT 2017
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-validator
Commit: 87e082f4f85c2b83a23cdb033af88865d13c8fd3
https://github.com/hibernate/hibernate-validator/commit/87e082f4f85c2b83a23cdb033af88865d13c8fd3
Author: marko-bekhta <marko.prykladna at gmail.com>
Date: 2017-10-20 (Fri, 20 Oct 2017)
Changed paths:
M engine/src/main/java/org/hibernate/validator/internal/engine/ConstraintViolationImpl.java
M engine/src/test/java/org/hibernate/validator/test/internal/engine/ConstraintViolationImplIdentityTest.java
Log Message:
-----------
HV-1373 Replacing calls to hashCode with System#identityHashCode()
hashCode() methods of validated beans as well as validated values of those
beans shouldn't be called as they might throw exceptions that we do not expect,
especially NPEs.
More information about the hibernate-commits
mailing list