Custom collection type returns wrong class

Description

CustomCollectionType instantiates user collection and returns instance class, it causes side effect in "toLoaggableString" with persistent collection ( it doe's not subclass user collection and shares common interface only )
Patch delegates "getReturnedClass()" for user type implementation.

Environment

None

Assignee

Unassigned

Reporter

Juozas Baliuka

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Components

Affects versions

Priority

Trivial
Configure