Skip to content

Awaitable.result should have a throws annotation of TimeoutException and InterruptedException as well as Awaitable.ready #8143

Merged
SethTisue merged 1 commit intoscala:2.12.xfrom
takayahilton:awaitable-result-throws
Jun 18, 2019
Merged

Awaitable.result should have a throws annotation of TimeoutException and InterruptedException as well as Awaitable.ready #8143
SethTisue merged 1 commit intoscala:2.12.xfrom
takayahilton:awaitable-result-throws

Conversation

@takayahilton
Copy link
Contributor

No description provided.

…and InterruptedException as well as Awaitable.ready.
@scala-jenkins scala-jenkins added this to the 2.12.9 milestone Jun 9, 2019
@dwijnand dwijnand requested a review from viktorklang June 9, 2019 20:16
Copy link
Member

@dwijnand dwijnand left a comment

Choose a reason for hiding this comment

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

Seems reasonable to me!

@viktorklang
Copy link
Contributor

Since the @throws-annotations are primarily for Java users, this change would be a breaking change, would it not?

@dwijnand
Copy link
Member

Yeah, source-breaking for Java users.

@diesalbla diesalbla added the library:concurrent Changes to the concurrency support in stdlib label Jun 15, 2019
@SethTisue
Copy link
Member

or not source-breaking, since @throws(classOf[Exception]) was already present?

merging regardless, it's okay to break source in this way.

@SethTisue SethTisue merged commit 19f00b9 into scala:2.12.x Jun 18, 2019
@takayahilton takayahilton deleted the awaitable-result-throws branch June 25, 2019 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

library:concurrent Changes to the concurrency support in stdlib

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants