Skip to content

JAVA-2480: Upgrade Jackson to 2.10.0#1349

Merged
adutra merged 4 commits into
4.xfrom
java2480
Oct 21, 2019
Merged

JAVA-2480: Upgrade Jackson to 2.10.0#1349
adutra merged 4 commits into
4.xfrom
java2480

Conversation

@emerkle826
Copy link
Copy Markdown
Contributor

No description provided.

* @param javaClass the Java class this codec maps to.
*/
public JacksonJsonCodec(Class<T> javaClass, ObjectMapper objectMapper) {
public JacksonJsonCodec(Class<T> javaClass, JsonMapper jsonMapper) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I know this is a public method signature change, but it is in the examples project, so I figured it's not a big deal.

Comment thread pom.xml
<jax-rs.version>2.0.1</jax-rs.version>
<jsr353-ri.version>1.1.4</jsr353-ri.version>
<jackson.version>2.9.9</jackson.version>
<jackson-databind.version>2.9.9.3</jackson-databind.version>
Copy link
Copy Markdown
Contributor

@absurdfarce absurdfarce Oct 18, 2019

Choose a reason for hiding this comment

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

It looks like this property is referenced specifically in com.datastax.oss.driver.osgi.BundleOptions::jacksonBundles()... is that a problem?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

good catch, I thought I caught all the references.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@adutra It looks like we separated the Jackson version from the Jackson databind version with this commit:
f6980df
Do you recall why? And do you think it's ok to upgrade to 2.10.0 for both?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes because versions for these two artifacts started diverging a while ago.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think it might be easier to just keep declaring these 2 properties, even if they have the same value.

@adutra
Copy link
Copy Markdown
Contributor

adutra commented Oct 21, 2019

Pushed a small fix for the databind property and confirmed that the OSGi tests pass.

Copy link
Copy Markdown
Contributor

@adutra adutra left a comment

Choose a reason for hiding this comment

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

I will open an equivalent PR for the DSE driver.

@adutra adutra merged commit 54a6785 into 4.x Oct 21, 2019
@adutra adutra deleted the java2480 branch October 21, 2019 08:35
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.

3 participants