Skip to content

Commit

Permalink
Remove dependency on servlet-specific RPC class (#9865)
Browse files Browse the repository at this point in the history
As part of the upcoming jakarta-servlet artifact patch, we want to limit
which types need to be copied and modified to be jakarta-specific.

Partial #9727
  • Loading branch information
niloc132 authored Dec 2, 2023
1 parent ffe6183 commit 72355d3
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import com.google.gwt.user.client.rpc.SerializedTypeViolationException;
import com.google.gwt.user.client.rpc.impl.AbstractSerializationStreamReader;
import com.google.gwt.user.server.Base64Utils;
import com.google.gwt.user.server.rpc.RPC;
import com.google.gwt.user.server.rpc.SerializationPolicy;
import com.google.gwt.user.server.rpc.SerializationPolicyProvider;
import com.google.gwt.user.server.rpc.ServerCustomFieldSerializer;
Expand Down Expand Up @@ -367,7 +366,7 @@ Object read(ServerSerializationStreamReader stream, BoundedList<Object> instance

private final ClassLoader classLoader;

private SerializationPolicy serializationPolicy = RPC.getDefaultSerializationPolicy();
private SerializationPolicy serializationPolicy = LegacySerializationPolicy.getInstance();

private final SerializationPolicyProvider serializationPolicyProvider;

Expand Down

0 comments on commit 72355d3

Please sign in to comment.