Skip to content

Commit

Permalink
Refresh parsers when not found
Browse files Browse the repository at this point in the history
Closes gh-3065
  • Loading branch information
koosg authored and jzheaux committed Nov 2, 2022
1 parent 8315545 commit 5c4362b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ public BeanDefinition parse(Element element, ParserContext pc) {
if (parser == null) {
// SEC-1455. Load parsers when required, not just on init().
loadParsers();
parser = this.parsers.get(name);
}
if (parser != null) {
return parser.parse(element, pc);
Expand Down

0 comments on commit 5c4362b

Please sign in to comment.