Yeah, that's a bit of an issue (well, it shouldn't affect the
application functionally, but I'd prefer not to use deprecated APIs).

I've create SHIRO-318 (https://issues.apache.org/jira/browse/SHIRO-318)
to address this.

Thanks for pointing this out.

-Jared

On 08/05/2011 06:32 AM, Filipe Sousa wrote:
> Aug 5, 2011 12:28:49 PM
> com.google.inject.servlet.InternalServletModule$BackwardsCompatibleServletContextProvider
> get
> WARNING: You are attempting to use a deprecated API (specifically,
> attempting to @Inject ServletContext inside an eagerly created
> singleton. While we allow this for backwards compatibility, be warned
> that this MAY have unexpected behavior if you have more than one
> injector (with ServletModule) running in the same JVM. Please consult
> the Guice documentation at
> http://code.google.com/p/google-guice/wiki/Servlets for more
> information.

Reply via email to