Have the policy name of RpcServiceProxy be the same as
the permutation's strong name.
Review by: bobv
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@7241 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/user/src/com/google/gwt/rpc/client/impl/RpcServiceProxy.java b/user/src/com/google/gwt/rpc/client/impl/RpcServiceProxy.java
index e68d17c..3ccd27d 100644
--- a/user/src/com/google/gwt/rpc/client/impl/RpcServiceProxy.java
+++ b/user/src/com/google/gwt/rpc/client/impl/RpcServiceProxy.java
@@ -15,6 +15,7 @@
*/
package com.google.gwt.rpc.client.impl;
+import com.google.gwt.core.client.GWT;
import com.google.gwt.http.client.RequestCallback;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.rpc.SerializationException;
@@ -31,7 +32,8 @@
protected RpcServiceProxy(String moduleBaseURL,
String remoteServiceRelativePath, TypeOverrides typeOverrides) {
- super(moduleBaseURL, remoteServiceRelativePath, "(unused)", null);
+ super(moduleBaseURL, remoteServiceRelativePath,
+ GWT.getPermutationStrongName(), null);
this.typeOverrides = typeOverrides;
}