Along with #21988, the internal MessageSource delegate within an ApplicationContext is being reset on context close. As a consequence, context.getMessage will throw an IllegalStateException after close now.