Change the log level for the message regarding use of raw types from WARN to INFO. Effectively this suppresses this warning for any raw type that is not assignable to Collection or Map since these will not cause all subtypes of Object to included in the proxy's code.
Review by: BobV
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@1797 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilder.java b/user/src/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilder.java
index a87b145..fd93a86 100644
--- a/user/src/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilder.java
+++ b/user/src/com/google/gwt/user/rebind/rpc/SerializableTypeOracleBuilder.java
@@ -1011,7 +1011,7 @@
}
} else if (classType.isRawType() != null) {
TreeLogger rawTypeLogger = logger.branch(
- TreeLogger.WARN,
+ TreeLogger.INFO,
"Type '"
+ classType.getQualifiedSourceName()
+ "' should be parameterized to help the compiler produce the smallest code size possible for your module.",