Skip to content

Commit

Permalink
Issue #6980 mark the field as accessible (#6981)
Browse files Browse the repository at this point in the history
Signed-off-by: Olivier Lamy <oliver.lamy@gmail.com>
  • Loading branch information
olamy committed Oct 14, 2021
1 parent d3a6d4b commit 2426b34
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ public void contextDestroyed(ServletContextEvent sce)
//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);

Expand Down

0 comments on commit 2426b34

Please sign in to comment.