Using Hibernate Validator 4.3.1.Final Threads are going in an infinite loop when trying to detect Types:
This is the content of the Map:
taken from the normalize Method while debugging stuff.
The code explicitly states this:
for ( Entry<K, V> entry : map.entrySet() ) {
K key = entry.getKey();
V value = entry.getValue();
while ( map.containsKey( value ) ) {
value = map.get( value );
}
map.put( key, value );
}
Yes it does result in a infinite loop - it hangs forever in the inner while loop. Actually we are stuck here - please fix this. As i am bound to JPA 2.0 i can't try the 5.x line.
The "map.put" while iterating over the map could be changed to "entry.setValue(...)" too.
|