Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade GSON to 2.9.0 #39

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Upgrade GSON to 2.9.0 #39

wants to merge 1 commit into from

Conversation

nieldw
Copy link

@nieldw nieldw commented Jun 24, 2022

Newer versions of gson (eg. 2.8.9) break backwards compatibility with ConstructorConstructor by adding a boolean parameter.

I'm not sure which version of GSON broke compatibility, but my other dependencies require a recent version of GSON.

All tests are passing.

Newer versions of gson (eg. 2.8.9) break backwards compatibility with `ConstructorConstructor` by adding a boolean parameter.
@@ -33,7 +33,7 @@
@SuppressWarnings("rawtypes")
public final class GraphAdapterBuilder {
private final Map<Type, InstanceCreator<?>> instanceCreators = new HashMap<Type, InstanceCreator<?>>();
private final ConstructorConstructor constructorConstructor = new ConstructorConstructor(instanceCreators);
private final ConstructorConstructor constructorConstructor = new ConstructorConstructor(instanceCreators, true);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TWiStErRob added a commit to TWiStErRob/net.twisterrob.cinema that referenced this pull request Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants