[undertow-dev] Broken #toArray-methods in SecureHashMap$KeySet/Values/EntrySet

Andrej Golovnin golovnin at gmx.net
Wed Mar 23 16:33:51 EDT 2016


Hi Stuart,

all toArray-methods implementations in the classes

SecureHashMap$KeySet
SecureHashMap$Values
SecureHashMap$EntrySet

are broken and throw StackOverflowError.
The methods can be removed from this classes because
the parent class AbstractCollection provides valid
implementations of this methods.

The class SecureHashMap is not used in Undertow and 
I think it is not used in WildFly too. Therefore maybe
it makes sense to remove the whole class SecureHashMap.

Best regards,
Andrej Golovnin


More information about the undertow-dev mailing list