Skip to content

Conversation

@pjfanning
Copy link
Member

@pjfanning pjfanning commented May 21, 2019

scala 2.13.0-RC2 tests initially failed but I was directed to some fixes created by @adriaanm in the scalacommunity build

@plokhotnyuk
Copy link

@pjfanning if they are reflection based failures then the following W/A should help: json4s/json4s@e3a6ba0#diff-203589bc2eb21dd281784b3a86f4d806R319

@pjfanning
Copy link
Member Author

Thanks @plokhotnyuk - I'll comment on scala/bug#11542 to see if the scala team can check the jackson-module-scala issue too

@pjfanning pjfanning changed the title WIP: scala 2.13.0-RC2 build scala 2.13.0-RC2 build May 22, 2019
@adriaanm
Copy link

The issue fixed by this PR is that Option now extends IterableOnce, so some type tests had to be done in a different order to avoid Option being treated like a collection. Note that we're about to release RC3 soon. While I suggest this PR is ready to merge (it wouldn't impact older Scala version support), it would be great if you could release for both RC2 and RC3.

}
getTypeFactory.constructMapLikeType(clazz, typeArguments(0), typeArguments(1))
} else if (isCollectionLike(clazz)) {
} else if (isReference(clazz)) { // Option is a subclss of IterableOnce, so check it first

Choose a reason for hiding this comment

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

Here's the core of the fix: Option needs to be checked before IterableOnce, since Option does extend IterableOnce now, but it needs its own mapper.

@pjfanning pjfanning changed the title scala 2.13.0-RC2 build scala 2.13.0-RC3 build May 31, 2019
@pjfanning
Copy link
Member Author

switch to RC3 scala version

@pjfanning
Copy link
Member Author

pjfanning commented May 31, 2019

@nbauernfeind @mbknor would it be possible to merge this and do a publish for scala 2.13.0-RC3?

@mbknor
Copy link
Member

mbknor commented May 31, 2019

I'll have a look at it

@mbknor mbknor merged commit 2b97ef5 into FasterXML:master May 31, 2019
@mbknor
Copy link
Member

mbknor commented May 31, 2019

tx. merged. I'll try to make a 2.9.9 for scala 2.13.0-RC3 asap

@pjfanning pjfanning deleted the scala-2.13.0-rc2 branch May 31, 2019 21:31
@mbknor
Copy link
Member

mbknor commented May 31, 2019

Release should be on its way to maven central

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.

5 participants