ServletConfigAware-related exception is not thrown as expected [SPR-9855] #14488
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
type: bug
A general bug
type: documentation
A documentation task
Milestone
Ivan Sopov opened SPR-9855 and commented
From the ServletConfigAware javadoc:
Only satisfied if actually running within a Servlet-specific
WebApplicationContext. If this callback interface is encountered
elsewhere, an exception will be thrown on bean creation
But I have not been able to reproduce exception throwing and I have not found it in the source. E.g. this code illustrates that ServletConfigAware interface does not work and exception is not thrown:
Affects: 3.1.2
Referenced from: commits 7fdb637, 03c3dc3
The text was updated successfully, but these errors were encountered: