-
Notifications
You must be signed in to change notification settings - Fork 645
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
bump: Scala 2.13.8 (drop 2.12), Akka 2.6.18 #2777
Conversation
788a63d
to
274375e
Compare
The ScalaDoc error in the Spring web module is scala/scala#9806 and will be fixed in Scala 2.13.8 |
f4c6b90
to
c992eef
Compare
8808b23
to
4668a40
Compare
93b4cb9
to
28aed7e
Compare
Scala 2.13.8 is on Maven Central already. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
val codecRegistry = | ||
fromRegistries(fromProviders(classOf[Number], classOf[DomainObject]), DEFAULT_CODEC_REGISTRY): @nowarn( | ||
"msg=match may not be exhaustive" | ||
) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No pattern matching going on here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very hidden indeed:
[warn] /Users/enno/dev/alpakka/mongodb/src/test/scala/docs/scaladsl/MongoSinkSpec.scala:40:41: match may not be exhaustive.
[warn] It would fail on the following input: (x: String forSome x not in "Number")
[warn] fromRegistries(fromProviders(classOf[Number], classOf[DomainObject]), DEFAULT_CODEC_REGISTRY)
[warn] ^
[warn] /Users/enno/dev/alpakka/mongodb/src/test/scala/docs/scaladsl/MongoSinkSpec.scala:40:58: match may not be exhaustive.
[warn] It would fail on the following input: (x: String forSome x not in "DomainObject")
[warn] fromRegistries(fromProviders(classOf[Number], classOf[DomainObject]), DEFAULT_CODEC_REGISTRY)
@@ -64,8 +62,7 @@ private[impl] class AlpakkaResultMapperHelper { | |||
val columnName: String = column.name() | |||
val fieldType: Class[_] = field.getType() | |||
|
|||
@silent("deprecated") | |||
val isAccessible = field.isAccessible() | |||
val isAccessible = field.isAccessible() // deprecated in JDK 11+ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, but @nowarn
not needed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Alpakka builds on JDK 8.
Preparing for a major release of Alpakka to only publish Scala 2.13 artefacts.
@nowarn
instead of Silencer plugin