Temporarily down grade the warning to INFO level.

The warning is causing some test failures due to unexpected log messages.

PiperOrigin-RevId: 355507369
This commit is contained in:
Guice Team
2021-02-03 16:25:41 -08:00
committed by Guice Team
parent 9a83236e2f
commit f78f7cfb3b
@@ -377,8 +377,9 @@ final class FactoryProvider2<F>
&& userLookups == null
&& !Modifier.isPublic(factory.getClass().getModifiers())) {
warnedAboutUserLookups = true;
// TODO(b/179303203): Upgrade this back to WARNING level
logger.log(
Level.WARNING,
Level.INFO,
"AssistedInject factory {0} is non-public and has javac-generated default methods. "
+ " Please pass a `MethodHandles.lookups()` with"
+ " FactoryModuleBuilder.withLookups when using this factory so that Guice can"