Skip to content

Commit

Permalink
Remove dependency on servlet-specific RPC class
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 gwtproject#9727
  • Loading branch information
niloc132 committed Nov 15, 2023
1 parent be37473 commit c803cdf
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 c803cdf

Please sign in to comment.