Beanmapper v2.3.2 Release NotesRelease Date: 2018-03-06 // almost 4 years ago
- Issue #104, IllegalAccessExceptions that occurred after JMV garbage collection; since all PropertyDescriptor instances are kept in a static cache and PD relies on Java's SoftReference, the reference can be discarded. This means that if the accessible boolean was set to true, it will be discarded. The error can manifest itself after a GC run and if the application relies on package-protected classes. The fix: the setAccessible method should be called very soon prior to calling the invoke method rather than only once at the creation of the PropertyDescriptorPropertyAccessor.