Skip to content

Commit

Permalink
fix: do not serialize unnecessary fields (#1426)
Browse files Browse the repository at this point in the history
Do not serialize java.util.regex.Pattern and executor fields in client
side statement. This caused an issue with Java 16 compilation, where an
IllegalAccessException is thrown during JSON serialization of such
fields.
  • Loading branch information
thiagotnunes committed Sep 15, 2021
1 parent 2d262a1 commit 29209f8
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -131,10 +131,10 @@ public String getMessage() {
private ClientSideSetStatementImpl setStatement;

/** The compiled regex pattern for recognizing this statement. */
private Pattern pattern;
private transient Pattern pattern;

/** A reference to the executor that should be used. */
private ClientSideStatementExecutor executor;
private transient ClientSideStatementExecutor executor;

/**
* Compiles this {@link ClientSideStatementImpl}. Throws a {@link CompileException} if the
Expand Down

0 comments on commit 29209f8

Please sign in to comment.