Revision: 7337
Author: [email protected]
Date: Fri Dec 18 10:10:29 2009
Log: Call servlet.log(message) instead of servlet.log(message, (Throwable)  
null)
to avoid NPEs in some servlet containers.

Review by: bobv


http://code.google.com/p/google-web-toolkit/source/detail?r=7337

Modified:
  /trunk/user/src/com/google/gwt/user/server/rpc/HybridServiceServlet.java
  /trunk/user/src/com/google/gwt/user/server/rpc/RemoteServiceServlet.java

=======================================
---  
/trunk/user/src/com/google/gwt/user/server/rpc/HybridServiceServlet.java        
 
Wed Oct 28 09:10:53 2009
+++  
/trunk/user/src/com/google/gwt/user/server/rpc/HybridServiceServlet.java        
 
Fri Dec 18 10:10:29 2009
@@ -86,8 +86,7 @@
                + strongName
                + "' for module '"
                + moduleBaseURL
-              + "'; a legacy, 1.3.3 compatible, serialization policy will  
be used.  You may experience SerializationExceptions as a result.",
-          null);
+              + "'; a legacy, 1.3.3 compatible, serialization policy will  
be used.  You may experience SerializationExceptions as a result.");
        serializationPolicy = RPC.getDefaultSerializationPolicy();
      }

=======================================
---  
/trunk/user/src/com/google/gwt/user/server/rpc/RemoteServiceServlet.java        
 
Mon Oct 26 14:02:26 2009
+++  
/trunk/user/src/com/google/gwt/user/server/rpc/RemoteServiceServlet.java        
 
Fri Dec 18 10:10:29 2009
@@ -71,7 +71,7 @@
            + ", is not in the same web application as this servlet, "
            + contextPath
            + ".  Your module may not be properly configured or your client  
and server code maybe out of date.";
-      servlet.log(message, null);
+      servlet.log(message);
      } else {
        // Strip off the context path from the module base URL. It should be  
a
        // strict prefix.
@@ -146,8 +146,7 @@
                + strongName
                + "' for module '"
                + moduleBaseURL
-              + "'; a legacy, 1.3.3 compatible, serialization policy will  
be used.  You may experience SerializationExceptions as a result.",
-          null);
+              + "'; a legacy, 1.3.3 compatible, serialization policy will  
be used.  You may experience SerializationExceptions as a result.");
        serializationPolicy = RPC.getDefaultSerializationPolicy();
      }

-- 
http://groups.google.com/group/Google-Web-Toolkit-Contributors

Reply via email to