Issue #6980 mark the field as accessible (#6981)

Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
This commit is contained in:
Olivier Lamy 2021-10-15 09:00:40 +10:00 committed by GitHub
parent d3a6d4bcce
commit 2426b34a51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -52,6 +52,8 @@ public class ELContextCleaner implements ServletContextListener
//Get a reference via reflection to the properties field which is holding class references
Field field = getField(beanELResolver);
field.setAccessible(true);
//Get rid of references
purgeEntries(field);