Matthew Dempsky has uploaded a new change for review.

  https://gwt-review.googlesource.com/2420


Change subject: Allow strong name to be omitted.
......................................................................

Allow strong name to be omitted.

Change-Id: Ie9d4ae13a9fdf188bfacb2caabb0b5b136dc342a
---
M user/src/com/google/gwt/user/server/rpc/impl/ServerSerializationStreamReader.java
1 file changed, 1 insertion(+), 1 deletion(-)



diff --git a/user/src/com/google/gwt/user/server/rpc/impl/ServerSerializationStreamReader.java b/user/src/com/google/gwt/user/server/rpc/impl/ServerSerializationStreamReader.java
index 3ba3dd5..6b703e8 100644
--- a/user/src/com/google/gwt/user/server/rpc/impl/ServerSerializationStreamReader.java +++ b/user/src/com/google/gwt/user/server/rpc/impl/ServerSerializationStreamReader.java
@@ -497,7 +497,7 @@
     String moduleBaseURL = readString();
     String strongName = readString();
     if (serializationPolicyProvider != null) {
-      if (!ALLOWED_STRONG_NAME.matcher(strongName).matches()) {
+ if (strongName != null && !ALLOWED_STRONG_NAME.matcher(strongName).matches()) {
         throw new SerializationException(
"GWT-RPC request is invalid because the strong name contains invalid characters");
       }

--
To view, visit https://gwt-review.googlesource.com/2420
To unsubscribe, visit https://gwt-review.googlesource.com/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie9d4ae13a9fdf188bfacb2caabb0b5b136dc342a
Gerrit-PatchSet: 1
Gerrit-Project: gwt
Gerrit-Branch: master
Gerrit-Owner: Matthew Dempsky <mdemp...@google.com>

--
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors
--- You received this message because you are subscribed to the Google Groups "Google Web Toolkit Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-web-toolkit-contributors+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to