remondis-it / remap

A declarative mapping library to simplify testable object mappings.
Apache License 2.0
122 stars 22 forks source link

Fix dynamically loaded classes #151

Closed Karlender closed 1 year ago

Karlender commented 1 year ago

When classes are loaded dynamically the default classloader can't correctly load those classes every time and therefore the classloader of the supertype has to be used. This problem can occur for example when using Spring and mapping a proxied class.