DefaultListableBeanFactory falls back to empty DLBF instance on deserialization

Issue: SPR-15766
This commit is contained in:
Juergen Hoeller 2017-07-13 13:02:29 +02:00
parent aa0d7a61b6
commit c9ffa64140
1 changed files with 1 additions and 1 deletions

View File

@ -1576,7 +1576,7 @@ public class DefaultListableBeanFactory extends AbstractAutowireCapableBeanFacto
}
}
// Lenient fallback: dummy factory in case of original factory not found...
return new StaticListableBeanFactory(Collections.<String, Object> emptyMap());
return new DefaultListableBeanFactory();
}
}