I have a simple enum looks like this.
And I tested with Hibernate-Validator.
And I got this.
6.0.17.Final seems to be free from this problem.
java version "1.8.0_231"
Java(TM) SE Runtime Environment (build 1.8.0_231-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.231-b11, mixed mode)
Hi, thanks for reporting the issue. This one is related to which has an ongoing PR opened - .
Could you please try to run your app using the build from that PR ? Thanks!
Confirmed. Passes with 6.1.0-SNAPSHOT.
Has been fixed in 6.1.0.Final.